Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
Travis publish script, remove -RC on git checkout (#193)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavolloffay authored Sep 26, 2017
1 parent aa4cc09 commit 10d3c21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion travis/publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ safe_checkout_remote_branch() {
# and we want that branch to be master or 0.0.0. which has been checked before.
# But we also want to make sure that we build and release exactly the tagged version,
# so we verify that the remote branch is where our tag is.
git checkout -B "${TRAVIS_BRANCH}"
git checkout -B `release_version | sed 's/-RC[[:digit:]]\+//'`
git fetch origin "${TRAVIS_BRANCH}":origin/"${TRAVIS_BRANCH}"
commit_local="$(git show --pretty='format:%H' ${TRAVIS_BRANCH})"
commit_remote="$(git show --pretty='format:%H' origin/${TRAVIS_BRANCH})"
Expand Down

0 comments on commit 10d3c21

Please sign in to comment.