Skip to content

Commit

Permalink
Fix "$TAG" bing set to "_untagged_" most of the time
Browse files Browse the repository at this point in the history
  • Loading branch information
servadestroya committed Feb 13, 2017
1 parent f7a9046 commit d45389a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ install:
- COMPILE_SCRIPTING_FOLDER="$TRAVIS_BUILD_DIR/addons/sourcemod/scripting"
- wget https://bitbucket.org/GoD_Tony/updater/raw/default/include/updater.inc -O $COMPILE_SCRIPTING_FOLDER/include/updater.inc
- COMMIT_NUMBER=$(git rev-list --count HEAD)
- if [[ -z $TRAVIS_TAG ]]; then TAG=TRAVIS_TAG; else TAG="_untagged_"; fi
- if [[ -z $TRAVIS_TAG ]]; then if git describe --tags; then TAG=$(git describe --tags); else TAG="_untagged_"; fi; else TAG="$TRAVIS_TAG"; fi
- VERSION="$TAG.$COMMIT_NUMBER"

before_script:
Expand Down

0 comments on commit d45389a

Please sign in to comment.