Skip to content

Conversation

@dhaiducek
Copy link
Member

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:

$ PolicyGenerator --version
v0.0.0-20230719194345-c518eac8081d

Followup to:

ref: https://issues.redhat.com/browse/ACM-5803

@openshift-ci
Copy link

openshift-ci bot commented Jul 19, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dhaiducek, JustinKuli

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • 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

@openshift-merge-robot openshift-merge-robot merged commit ee68f17 into open-cluster-management-io:main Jul 19, 2023
@dhaiducek dhaiducek mentioned this pull request Jul 20, 2023
@dhaiducek dhaiducek deleted the internal-version-gathering branch December 12, 2023 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants