add platform name to version string

This commit is contained in:
Greg Gauthier 2021-03-19 08:47:56 +00:00
parent 758d317d0f
commit 027d922916

View File

@ -6,7 +6,7 @@ export GOPATH
GIT_COMMIT=$(git rev-list -1 HEAD) GIT_COMMIT=$(git rev-list -1 HEAD)
export GIT_COMMIT export GIT_COMMIT
CANONICAL_VERSION=$(cat ./VERSION) CANONICAL_VERSION=$(cat ./VERSION)-$(uname)
export CANONICAL_VERSION export CANONICAL_VERSION
VERSION_STRING="$CANONICAL_VERSION-$GIT_COMMIT" VERSION_STRING="$CANONICAL_VERSION-$GIT_COMMIT"
export VERSION_STRING export VERSION_STRING