mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
Set a marker for oc to inject the release version to avoid potential
confusion from:
$ oc adm release extract --command=openshift-install quay.io/openshift-release-dev/ocp-release:4.2.7
$ ./openshift-install version
./openshift-install v4.2.5
built from commit 425e4ff003
release image quay.io/openshift-release-dev/ocp-release@sha256:bac62983757570b9b8f8bc84c740782984a255c16372b3e30cfc8b52c0a187b9
The actual oc injection logic is in [1].
[1]: https://github.com/openshift/oc/pull/165