add platform name to version string
This commit is contained in:
parent
758d317d0f
commit
027d922916
2
build.sh
2
build.sh
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user