Skip to content

Commit

Permalink
Merge pull request #516 from ninjadev/push-to-github
Browse files Browse the repository at this point in the history
Automatically create release on GitHub from travis
  • Loading branch information
aleksanb authored Dec 4, 2018
2 parents 432f4d3 + d64a0d6 commit 82173d8
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,19 @@ after_success:
- git config --local user.name "Travis"
- git config --local user.email "[email protected]"
- git tag v$PACKAGE_VERSION
- git push --tags
before_deploy:
- cd $TRAVIS_BUILD_DIR
deploy:
provider: npm
skip_cleanup: true
email: [email protected]
api_key:
secure: iWwXLzno47upqZ0qETbuc+sWEDf9drr/KYulsjWJMCuTdeWj4HuF4NcMSENR43ngeEBO34+NxiAjC0yKe+qPJ6bmq06fYPjobPHUhI9tfWRUsuxxkxhZUnTsR2FaOz7vVe1GTECcqKtR1OAeJH7IPWvanKHNMOyXjUrvSKWPtmo=
on:
branch: master
condition: "\"$PACKAGE_VERSION\" != \"$LATEST_TAG\""
- provider: npm
skip_cleanup: true
email: [email protected]
api_key:
secure: iWwXLzno47upqZ0qETbuc+sWEDf9drr/KYulsjWJMCuTdeWj4HuF4NcMSENR43ngeEBO34+NxiAjC0yKe+qPJ6bmq06fYPjobPHUhI9tfWRUsuxxkxhZUnTsR2FaOz7vVe1GTECcqKtR1OAeJH7IPWvanKHNMOyXjUrvSKWPtmo=
on:
branch: master
condition: "\"$PACKAGE_VERSION\" != \"$LATEST_TAG\""
- provider: releases
api_key:
secure: "HTbYTMO/Me+AlcGfh2+1UMUSvirmnLHn940VzyzYhJT15HEHGLPl/m9f8+JuWSJs27twdMG2/DDWc5A6FypaiATA3hUaymfgsjKkOW7ozaQ4dV+Fw9lo/DsqbP+mlMRwMIL5+FawCJzgIcHUxytzwFxb+GfIoIfT72vjWiaGTUM="
name: v$PACKAGE_VERSION
skip_cleanup: true

0 comments on commit 82173d8

Please sign in to comment.