mirror of
https://github.com/openshift/installer.git
synced 2026-02-05 15:47:14 +01:00
And stick Git tagging in there too, because why not. This is mostly to get our list of target OSes and architectures into version control. The SKIP_GENERATION variable allows you to turn off vfsgen when we have GOOS and/or GOARCH set to values that will not run on your host ;). Also change --abbrev from 0 to 40 in the build script, because --abbrev=0 results in dropping the commit hash entirely when there's a past tag: $ git describe --always --abbrev=40 --dirty v0.1.0-2-gff5ee75e5010efb305d4bc381d944b14a4a97c3b-dirty $ git describe --always --abbrev=0 --dirty v0.1.0-dirty $ git describe --always --dirty v0.1.0-2-gff5ee75-dirty Checking on the tag itself for sanity: $ git checkout v0.1.0 $ git describe --always --abbrev=40 --dirty v0.1.0