Visitar URL original
fix: Fix semantic-release deploys · dev-techops/feather@b3655c4 · GitHub
Skip to content

Commit b3655c4

Browse files
committed
fix: Fix semantic-release deploys
Updated .travis.yml to match the example provided in the documentation https://semantic-release.gitbooks.io/semantic-release/content/docs/recipes/travis.html
1 parent 5a8a8b7 commit b3655c4

2 files changed

Lines changed: 6 additions & 4 deletions

File tree

‎.travis.yml‎

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,8 @@ before_script:
99
- npm prune
1010
script:
1111
- npm start
12-
after_success:
13-
- npm run semantic-release
12+
deploy:
13+
provider: script
14+
skip_cleanup: true
15+
script:
16+
- npx semantic-release

‎package.json‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@
1313
"test": "jest",
1414
"cm": "git-cz",
1515
"precommit": "lint-staged",
16-
"commitmsg": "commitlint --edit",
17-
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
16+
"commitmsg": "commitlint --edit"
1817
},
1918
"config": {
2019
"commitizen": {

0 commit comments

Comments
 (0)