mirror of
https://gitee.com/rainbond/Rainbond.git
synced 2024-12-04 04:38:04 +08:00
Update release.sh
This commit is contained in:
parent
41010cdb77
commit
b4d9cbb232
17
release.sh
17
release.sh
@ -12,15 +12,18 @@ fi
|
||||
GO_VERSION=1.11
|
||||
GATEWAY_GO_VERSION=1.11-alpine3.8
|
||||
|
||||
if [ -z "$TRAVIS_TAG" ]; then
|
||||
if [ -z "$VERSION" ];then
|
||||
if [ -z "$TRAVIS_TAG" ]; then
|
||||
if [ -z "$TRAVIS_BRANCH" ]; then
|
||||
VERSION=V5.1-dev
|
||||
else
|
||||
VERSION=$TRAVIS_BRANCH-dev
|
||||
fi
|
||||
else
|
||||
VERSION=$TRAVIS_TAG
|
||||
VERSION=V5.1-dev
|
||||
else
|
||||
VERSION=$TRAVIS_BRANCH-dev
|
||||
fi
|
||||
else
|
||||
VERSION=$TRAVIS_TAG
|
||||
fi
|
||||
fi
|
||||
|
||||
buildTime=$(date +%F-%H)
|
||||
git_commit=$(git log -n 1 --pretty --format=%h)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user