Skip to content

Commit a613732

Browse files
more deploy changes
1 parent b078900 commit a613732

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

travis-ci/before-deploy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ export GIT_TAG=v1.0.$TRAVIS_BUILD_NUMBER
1212
#git add $TRAVIS_BUILD_DIR/build.txt
1313
sudo $TRAVIS_BUILD_DIR/travis-ci/modify-globalblacklist.sh
1414
sudo git add $TRAVIS_BUILD_DIR/globalblacklist.conf
15-
sudo git commit -m "Build $TRAVIS_BUILD_NUMBER"
15+
sudo git commit -m "Build $GIT_TAG"

travis-ci/deploy.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ sudo git config --global push.default simple
88
#export GIT_TAG=V2.$YEAR-$MONTH.$TRAVIS_BUILD_NUMBER
99
export GIT_TAG=v1.0.$TRAVIS_BUILD_NUMBER
1010
git fetch --tags
11-
msg="Build $TRAVIS_BUILD_NUMBER"
11+
msg="Build $GIT_TAG"
1212
if git tag $GIT_TAG -a -m "$msg" 2>/dev/null; then
13-
sudo git tag $GIT_TAG -a -m "Build $TRAVIS_BUILD_NUMBER"
13+
sudo git tag $GIT_TAG -a -m "Build $GIT_TAG"
1414
sudo git push origin master && git push origin master --tags
1515
ls -aR
1616
else echo Tag already exists!; fi

0 commit comments

Comments
 (0)