1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 15:47:14 +01:00
Files
installer/pkg/version
W. Trevor King e24708d81b pkg/version: Prepare of extract-time oc version injection
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
2019-11-16 15:49:29 -08:00
..