fugue / regula

Regula checks infrastructure as code templates (Terraform, CloudFormation, k8s manifests) for AWS, Azure, Google Cloud, and Kubernetes security and compliance using Open Policy Agent/Rego
https://regula.dev/
Apache License 2.0
961 stars 108 forks source link

[BUG] `regula version` doesn't output as expected in v3.0.0 #385

Closed p-linnane closed 1 year ago

p-linnane commented 1 year ago

Describe the bug Hello 👋 . I'm a maintainer for the Homebrew project. We're attempting to build regula v3.0.0 from source. As part of our tests we run regula version and match the output. We expected regula version to output 3.0.0, but it currently outputs unknown-version, build unknown-commit, built with OPA v0.46.0-dev

How you're running Regula Just building from source for Homebrew. Relevant GitHub Actions run can be found here: https://github.com/Homebrew/homebrew-core/actions/runs/3998986785/jobs/6862428983

Operating System macOS

Steps to reproduce See above

IaC Configuration N/A

Additional context N/A

p-linnane commented 1 year ago

This was caused by not updating version variables from v2 to v3, and is not resolved.