fix: Separate tag and non-tag build pipelines
This commit is contained in:
parent
550eb0234b
commit
8a8a62792a
2 changed files with 5 additions and 1 deletions
|
@ -27,6 +27,8 @@ deploy_to_tags:
|
|||
stage: deploy
|
||||
needs: ['test']
|
||||
image: "node:15.0"
|
||||
except:
|
||||
- tags
|
||||
script:
|
||||
- npm install
|
||||
- npx semantic-release
|
||||
|
|
|
@ -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": [
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue