Skip to content

Commit

Permalink
Merge pull request #12 from eidng8/dev
Browse files Browse the repository at this point in the history
trying travis release
  • Loading branch information
eidng8 committed Apr 10, 2020
2 parents 8b85005 + 6a6bbf9 commit 3a6fe00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
set -ev
if [[ "${TRAVIS_BRANCH}" == "master" && "${TRAVIS_EVENT_TYPE}" == "push" ]]; then
npm run build
git tag $(node -p "require('./package.json').version")\ \($(date +'%Y-%m-%
d')\)
git tag $(node -p "require('./package.json').version")\ \($(date +'%Y-%m-%d')\)
export PACKAGE=$(npm pack --silent)
else
echo Skipping packaging because this is not master, or it is a pull request.
Expand Down

0 comments on commit 3a6fe00

Please sign in to comment.