Skip to content
Snippets Groups Projects

allow for hotfixes

Merged Marco Wettstein requested to merge f/hotfixes into master
@@ -57,7 +57,6 @@ image: panterch/docker-ci-kubernetes-deploy
yarn global add --silent semantic-release \
@semantic-release/commit-analyzer \
@semantic-release/release-notes-generator \
# see https://github.com/semantic-release/git/pull/213
https://github.com/panter/git.git#b4037626cc583d3e9f7995ea0604b23730d0a22e \
@semantic-release/changelog \
@semantic-release/gitlab \
@@ -71,7 +70,7 @@ image: panterch/docker-ci-kubernetes-deploy
"@semantic-release/release-notes-generator",
"@semantic-release/changelog",
["@semantic-release/git", {
"message": "chore(\${branch}): \${nextRelease.version}\n\n\${nextRelease.notes}"
"message": "chore(\${branch.type}): \${nextRelease.version}\n\n\${nextRelease.notes}"
}],
["@semantic-release/gitlab", {
"gitlabUrl": "https://git.panter.ch"
@@ -535,7 +534,7 @@ image: panterch/docker-ci-kubernetes-deploy
# do not do the automatic release on hotfix branches
except:
variables:
- $CI_COMMIT_MESSAGE =~ /^chore(maintenance).*/ # do not do automatic release after a hotfix / maintenance release
- $CI_COMMIT_MESSAGE =~ /^chore\(maintenance\).*/ # do not do automatic release after a hotfix / maintenance release
extends: .deploy-to-kubernetes-dev
.stage-deploy-automatic:
@@ -548,7 +547,7 @@ image: panterch/docker-ci-kubernetes-deploy
# do not do the automatic release on hotfix branches
except:
variables:
- $CI_COMMIT_MESSAGE =~ /^chore(maintenance).*/ # do not do automatic release after a hotfix / maintenance release
- $CI_COMMIT_MESSAGE =~ /^chore\(maintenance\).*/ # do not do automatic release after a hotfix / maintenance release
extends: .deploy-to-kubernetes-stage
@@ -564,7 +563,7 @@ image: panterch/docker-ci-kubernetes-deploy
except:
variables:
- $STAGING_ENABLED == "true"
- $CI_COMMIT_MESSAGE =~ /^chore(maintenance).*/ # do not do automatic release after a hotfix / maintenance release
- $CI_COMMIT_MESSAGE =~ /^chore\(maintenance\).*/ # do not do automatic release after a hotfix / maintenance release
extends: .deploy-to-kubernetes-prod
Loading