Skip to content

Commit

Permalink
ci: fix semantic release
Browse files Browse the repository at this point in the history
  • Loading branch information
theoomoregbee committed May 10, 2020
1 parent 592426e commit 109c4e6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ notifications:
node_js:
- '13'
after_success:
- npm run travis-deploy-once "npm run semantic-release"
- npx semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "build/index.js",
"repository": {
"type": "git",
"url": "https://github.com/theo4u/sails-hook-swagger-generator.git"
"url": "https://github.com/theoomoregbee/sails-hook-swagger-generator.git"
},
"sails": {
"isHook": true
Expand All @@ -18,7 +18,7 @@
"pretest": "npm run lint && npm run build",
"test": "node ./node_modules/mocha/bin/mocha build/test/bootstrap.test.js build/test/**/*.test.js",
"travis-deploy-once": "travis-deploy-once",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"semantic-release": "semantic-release"
},
"keywords": [
"sails",
Expand All @@ -43,7 +43,7 @@
"sails": "^1.1.0",
"sails-disk": "^1.1.2",
"sails-hook-orm": "^2.1.1",
"semantic-release": "7.0.2",
"semantic-release": "^17.0.7",
"swagger-jsdoc": "^3.4.0",
"travis-deploy-once": "^4.3.4",
"tslib": "^1.10.0",
Expand Down

0 comments on commit 109c4e6

Please sign in to comment.