Skip to content

Commit

Permalink
Switch to Github suggested version tagging system
Browse files Browse the repository at this point in the history
  • Loading branch information
arttuperala committed Jan 6, 2017
1 parent c8ef2fc commit 1844ba9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ before_install:
- make
- cd ..
install:
- version_number=`git describe --tags --abbrev=0 2>/dev/null || echo 0.0`
- if [[ $? != 0 ]]; then version_number="0.0"; fi
- version_number=`git describe --tags --abbrev=0 2>/dev/null | sed s/^v//`
- if [[ $version_number == "" ]]; then version_number="0.0"; fi
- agvtool new-version -all $TRAVIS_BUILD_NUMBER
- agvtool new-marketing-version $version_number
- xcodebuild -target kmbmpdc -configuration Release
Expand Down

0 comments on commit 1844ba9

Please sign in to comment.