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

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: ...@@ -75,9 +75,8 @@ jobs:
on: on:
branch: master branch: master
- stage: release - stage: release
node_js: 4 node_js: 8
env:
- TRAVIS_JOB_NUMBER=WORKAROUND.1
script: script:
- npm run lint - npm run lint
- npm i semantic-release
- 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then npm run semantic-release; fi || true' - 'if [ "${TRAVIS_PULL_REQUEST}" = "false" ] && [ "${TRAVIS_BRANCH}" = "master" ]; then npm run semantic-release; fi || true'
...@@ -55,6 +55,7 @@ ...@@ -55,6 +55,7 @@
"wkx": "^0.4.1" "wkx": "^0.4.1"
}, },
"devDependencies": { "devDependencies": {
"@bubltechnology/customizable-commit-analyzer": "1.0.2-0",
"chai": "^3.5.0", "chai": "^3.5.0",
"chai-as-promised": "^5.3.0", "chai-as-promised": "^5.3.0",
"chai-datetime": "^1.4.1", "chai-datetime": "^1.4.1",
...@@ -78,7 +79,6 @@ ...@@ -78,7 +79,6 @@
"pg-native": "^1.10.0", "pg-native": "^1.10.0",
"pg-types": "^1.11.0", "pg-types": "^1.11.0",
"rimraf": "^2.5.4", "rimraf": "^2.5.4",
"semantic-release": "^7.0.2",
"sinon": "^1.17.6", "sinon": "^1.17.6",
"sinon-chai": "^2.13.0", "sinon-chai": "^2.13.0",
"sqlite3": "^3.1.4", "sqlite3": "^3.1.4",
...@@ -145,6 +145,19 @@ ...@@ -145,6 +145,19 @@
"config": { "config": {
"commitizen": { "commitizen": {
"path": "./node_modules/cz-conventional-changelog" "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!