Skip to content

Commit

Permalink
fix(travis): We need to git commit before we git tag -a.
Browse files Browse the repository at this point in the history
🤦‍♂️
  • Loading branch information
randytarampi committed Apr 26, 2020
1 parent 74b8f52 commit d9f65df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ matrix:
- export TRAVIS_TAG=${TRAVIS_TAG:=v$REPO_VERSION}
- export TRAVIS_TAG_COMMIT=${TRAVIS_TAG_COMMIT:=$(git rev-parse HEAD)}
- 'if [[ -n $(git status -s) ]]; then
git commit -am "release: Prepare release v$REPO_VERSION.";
git tag -a $TRAVIS_TAG -m "release(travis): Release v$REPO_VERSION.";
export TRAVIS_TAG_COMMIT=$(git rev-parse HEAD);
git push ci-push master;
Expand Down

0 comments on commit d9f65df

Please sign in to comment.