From 2d75fc1e0f1942b8c36331f5b1771b8c767e8ede Mon Sep 17 00:00:00 2001 From: "William G. Thompson, Jr" Date: Sat, 20 Apr 2019 12:28:36 -0400 Subject: [PATCH] Create buildVersion.sh --- buildVersion.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 buildVersion.sh 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` +