Skip to content

Commit

Permalink
fixing release tags ccxt#430
Browse files Browse the repository at this point in the history
  • Loading branch information
kroitor committed Oct 31, 2017
1 parent 629eb8e commit c6847f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions push.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
#!/bin/sh

LAST_COMMIT_MESSAGE="$(git log --no-merges -1 --pretty=%B)"
COMPILED_MESSAGE="${LAST_COMMIT_MESSAGE}"$'\n'"[ci skip]"
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 "${COMPILED_MESSAGE}"
git tag -a "${COMMIT_MESSAGE}" -m "${LAST_COMMIT_MESSAGE}" -m "[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 c6847f8

Please sign in to comment.