Skip to content

Commit

Permalink
Tag before reseting during release
Browse files Browse the repository at this point in the history
Still the saga continues of the old master branch getting the tag
rather than the actual pushed commit.
  • Loading branch information
tombh committed Jun 18, 2018
1 parent e4933ac commit 0bfd0c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/release_if_new_version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,9 @@ if [[ "$manifest_version" == "$latest_tagged_version" ]]; then
exit 0
fi

git reset --hard
git tag v$manifest_version
git show v$manifest_version --quiet
git reset --hard

cd $PROJECT_ROOT/webext
BROWSH_ENV=RELEASE npm run build
Expand All @@ -27,7 +28,6 @@ cd $PROJECT_ROOT/interfacer/src
curl -sL http://git.io/goreleaser | bash
git config --global user.email "[email protected]"
git config --global user.name "Travis CI"
git checkout webext-rewrite # Only before rename from Texttop to Browsh
# `/dev/null` needed to prevent Github token appearing in logs
git push --tags --quiet https://$GITHUB_TOKEN@github.com/tombh/texttop > /dev/null 2>&1

0 comments on commit 0bfd0c4

Please sign in to comment.