travis-apidoc: swap 'relevant' and 'boilerplate' commits

This commit is contained in:
Daniel Hahler 2015-10-30 00:02:19 +01:00
parent 751db72de6
commit 9b3558899b
1 changed files with 7 additions and 0 deletions

View File

@ -82,6 +82,13 @@ cd ../doc
git add --all . git add --all .
git commit -m "[boilerplate] $COMMIT_MSG" git commit -m "[boilerplate] $COMMIT_MSG"
# Reorder/swap commits, to have "relevant" after "boilerplate".
# This makes it show up earlier in the Github interface etc.
git tag _old
git reset --hard HEAD~2
git cherry-pick _old _old~1
git tag -d _old
git checkout "$BRANCH" git checkout "$BRANCH"
git merge --no-ff -m "$COMMIT_MSG" merged-update git merge --no-ff -m "$COMMIT_MSG" merged-update