fix: Separate tag and non-tag build pipelines

This commit is contained in:
Robert Prehn 2020-12-19 17:01:34 -06:00
parent 550eb0234b
commit 8a8a62792a
2 changed files with 5 additions and 1 deletions

View file

@ -27,6 +27,8 @@ deploy_to_tags:
stage: deploy
needs: ['test']
image: "node:15.0"
except:
- tags
script:
- npm install
- npx semantic-release

View file

@ -25,7 +25,9 @@
"release": {
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/git"
["@semantic-release/git", {
"message": "chore(release): ${nextRelease.version}\n\n${nextRelease.notes}"
}]
],
"publish": [
{