We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47ad985 commit b6a52f1Copy full SHA for b6a52f1
src/cmd-build-with-buildah
@@ -119,12 +119,17 @@ build_with_buildah() {
119
fi
120
121
if [ -z "${VERSION}" ]; then
122
- # let error out if file does not exist
+ # If we were asked to run versionary then we just run it
123
+ # and it will give us a production build ID. If we were't
124
+ # asked to run versionary we still run it, but request a
125
+ # "development" build ID.
126
if [ -z "${VERSIONARY}" ]; then
- VERSION=$(src/config/versionary --dev)
127
+ dev_arg='--dev'
128
else
- VERSION=$(src/config/versionary)
129
+ dev_arg=''
130
131
+ # Call versionary. Let it error out if file does not exist.
132
+ VERSION=$(src/config/versionary ${dev_arg})
133
134
135
if [ -e "builds/$VERSION/${arch}" ]; then
0 commit comments