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

Commit 300ee615 by Sushant

build: setup publish config for v5

1 parent 2b9baa2a
Showing with 19 additions and 8 deletions
......@@ -6,6 +6,7 @@ language: node_js
branches:
only:
- master
- v5
- /^greenkeeper/.*$/
except:
- /^v\d+\.\d+\.\d+$/
......@@ -76,16 +77,16 @@ jobs:
node_js: '8'
script:
- npm run semantic-release
before_deploy:
- npm run docs
deploy:
provider: surge
project: ./esdoc/
domain: docs.sequelizejs.com
skip_cleanup: true
# before_deploy:
# - npm run docs
# deploy:
# provider: surge
# project: ./esdoc/
# domain: docs.sequelizejs.com
# skip_cleanup: true
stages:
- lint
- test
- name: release
if: branch = master AND type = push AND fork = false
if: branch = v5 AND type = push AND fork = false
......@@ -115,6 +115,16 @@
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"release": {
"branch": "v5",
"verifyConditions": [
"@semantic-release/npm",
"@semantic-release/github"
]
},
"publishConfig": {
"tag": "v5"
},
"scripts": {
"lint": "eslint lib test --quiet",
"lint-docs": "markdownlint docs",
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!