diff --git a/buildVersion.sh b/buildVersion.sh new file mode 100755 index 0000000..38d3b0f --- /dev/null +++ b/buildVersion.sh @@ -0,0 +1,5 @@ +# This script is sourced from each of the manualBuild.sh scripts. +# The git branch indicates the GTE version and is appended to the docker image tag +# e.g. tier/gte:101.1.1-201906 where 201906 is the git branch +export VERSION_TAG=`git status --porcelain=2 -b | grep branch.head | cut -d ' ' -f 3` +