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

Commit 44f9084b by Sushant

chores: release config

1 parent 3fd065ca
Showing with 5 additions and 12 deletions
...@@ -43,7 +43,6 @@ before_script: ...@@ -43,7 +43,6 @@ before_script:
- "if [ $POSTGRES_VER ]; then docker run --link ${POSTGRES_VER}:db -e CHECK_PORT=5432 -e CHECK_HOST=db --net sequelize_default giorgos/takis; fi" - "if [ $POSTGRES_VER ]; then docker run --link ${POSTGRES_VER}:db -e CHECK_PORT=5432 -e CHECK_HOST=db --net sequelize_default giorgos/takis; fi"
script: script:
- 'if [ "$INSTALL_MODULE" ]; then npm install ${INSTALL_MODULE}; fi'
- npm run lint - npm run lint
- "if [ $COVERAGE ]; then npm run cover && bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info; else npm run test; fi" - "if [ $COVERAGE ]; then npm run cover && bash <(curl -s https://codecov.io/bash) -f coverage/lcov.info; else npm run test; fi"
...@@ -64,16 +63,6 @@ jobs: ...@@ -64,16 +63,6 @@ jobs:
node_js: '4' node_js: '4'
sudo: required sudo: required
env: POSTGRES_VER=postgres-95 DIALECT=postgres-native COVERAGE=true env: POSTGRES_VER=postgres-95 DIALECT=postgres-native COVERAGE=true
- stage: test
node_js: '8'
env: DIALECT=sqlite
- stage: test
node_js: '4'
sudo: required
env: POSTGRES_VER=postgres-95 DIALECT=postgres COVERAGE=true INSTALL_MODULE="pg@6.x pg-native@1.x"
- stage: test
node_js: '6'
env: DIALECT=sqlite
- stage: release - stage: release
node_js: '8' node_js: '8'
script: script:
...@@ -89,4 +78,4 @@ jobs: ...@@ -89,4 +78,4 @@ jobs:
stages: stages:
- test - test
- name: release - name: release
if: branch = master AND type = push AND fork = false if: branch = v4 AND type = push AND fork = false
...@@ -153,9 +153,13 @@ ...@@ -153,9 +153,13 @@
} }
}, },
"release": { "release": {
"branch": "v4",
"verifyConditions": [ "verifyConditions": [
"@semantic-release/npm", "@semantic-release/npm",
"@semantic-release/github" "@semantic-release/github"
] ]
},
"publishConfig": {
"tag": "latest"
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!