Browse Source

chore(travis): fix deployment of jenkins branch for bugfix tags

Bugfix tags contain backported patches, and thus they aren't shown by
the `git describe`. Thus trust that Travis provides correct branch name
for the tag to push to `for-jenkins-release` branch.
reviewable/pr4450/r1
Zetok Zalbavar 8 years ago
parent
commit
6b3e03ca6a
No known key found for this signature in database
GPG Key ID: C953D3880212068A
  1. 2
      .travis/deploy-jenkins-branch.sh

2
.travis/deploy-jenkins-branch.sh

@ -31,7 +31,7 @@ main() {
fi fi
cd qTox cd qTox
git checkout $(git describe --abbrev=0) -b for-jenkins-release git checkout "$TRAVIS_BRANCH" -b for-jenkins-release
git push --force "https://${GH_DEPLOY_JENKINS}@github.com/qTox/qTox.git" git push --force "https://${GH_DEPLOY_JENKINS}@github.com/qTox/qTox.git"
} }
main main

Loading…
Cancel
Save