Using go install resulted in Unversioned binary, which didn't seem ideal. This allows us to set the version a build time (which is preferred for our ACM use cases) but also falls back to the Go determined module version when using go install, which is also a nice fallback. Here I tagged this branch and it retrieves the version as:
Needs approval from an approver in each of these files:
- ~~[OWNERS](https://github.com/open-cluster-management-io/policy-generator-plugin/blob/main/OWNERS)~~ [JustinKuli,dhaiducek]
Approvers can indicate their approval by writing `/approve` in a comment
Approvers can cancel approval by writing `/approve cancel` in a comment
Using
go install
resulted inUnversioned binary
, which didn't seem ideal. This allows us to set the version a build time (which is preferred for our ACM use cases) but also falls back to the Go determined module version when usinggo install
, which is also a nice fallback. Here I tagged this branch and it retrieves the version as:Followup to:
120
121
ref: https://issues.redhat.com/browse/ACM-5803