不要怂,就是干,撸起袖子干!

Commit 35de684c by Sushant Committed by GitHub

ci: fix release system (#8344)

1 parent 54269128
Showing with 16 additions and 4 deletions
......@@ -75,9 +75,8 @@ jobs:
on:
branch: master
- stage: release
node_js: 4
env:
- TRAVIS_JOB_NUMBER=WORKAROUND.1
node_js: 8
script:
- npm run lint
- npm i semantic-release
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then npm run semantic-release; fi || true'
......@@ -55,6 +55,7 @@
"wkx": "^0.4.1"
},
"devDependencies": {
"@bubltechnology/customizable-commit-analyzer": "1.0.2-0",
"chai": "^3.5.0",
"chai-as-promised": "^5.3.0",
"chai-datetime": "^1.4.1",
......@@ -78,7 +79,6 @@
"pg-native": "^1.10.0",
"pg-types": "^1.11.0",
"rimraf": "^2.5.4",
"semantic-release": "^7.0.2",
"sinon": "^1.17.6",
"sinon-chai": "^2.13.0",
"sqlite3": "^3.1.4",
......@@ -145,6 +145,19 @@
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
},
"commitTypeMap": {
"docs": "patch",
"fix": "patch",
"perf": "patch",
"feat": "minor",
"refactor": "minor",
"release": "minor",
"ci": null,
"tests": null
}
},
"release": {
"analyzeCommits": "@bubltechnology/customizable-commit-analyzer"
}
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!