Skip to content

Commit

Permalink
proper formatting in git release tags ccxt#429
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Oct 31, 2017
1 parent e846201 commit f6c121c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions push.sh
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/bin/sh

LAST_COMMIT_MESSAGE="$(git log --no-merges -2 --pretty=%B)"
LAST_GIT_COMMIT_MESSAGE="$(git log --no-merges -2 --pretty=%B)"
git config --global user.email "[email protected]"
git config --global user.name "Travis CI"
git add --force build/ccxt.browser.js
git commit -a -m "${COMMIT_MESSAGE}" -m '[ci skip]'
git tag -a "${COMMIT_MESSAGE}" -m "${LAST_COMMIT_MESSAGE}\n[ci skip]"
git tag -a "${COMMIT_MESSAGE}" -m "${LAST_COMMIT_MESSAGE}"$'\n'"[ci skip]"
git remote remove origin
git remote add origin https://${GITHUB_TOKEN}@github.com/ccxt/ccxt.git
git push origin --tags HEAD:master

0 comments on commit f6c121c

Please sign in to comment.