Skip to content
Snippets Groups Projects

allow for hotfixes

Merged Marco Wettstein requested to merge f/hotfixes into master
@@ -57,7 +57,7 @@ image: panterch/docker-ci-kubernetes-deploy
yarn global add --silent semantic-release \
@semantic-release/commit-analyzer \
@semantic-release/release-notes-generator \
@semantic-release/git \
https://github.com/panter/git.git#b4037626cc583d3e9f7995ea0604b23730d0a22e \
@semantic-release/changelog \
@semantic-release/gitlab \
@semantic-release/exec;
@@ -533,8 +533,8 @@ image: panterch/docker-ci-kubernetes-deploy
only: ["tags"]
# do not do the automatic release on hotfix branches
except:
refs:
- /^[0-9]+\.([0-9]+|x)\.x$/ # hotfix branches
variables:
- $CI_COMMIT_MESSAGE =~ /^chore\(maintenance\).*/ # do not do automatic release after a hotfix / maintenance release
extends: .deploy-to-kubernetes-dev
.stage-deploy-automatic:
@@ -546,8 +546,8 @@ image: panterch/docker-ci-kubernetes-deploy
- $STAGING_ENABLED == "true"
# do not do the automatic release on hotfix branches
except:
refs:
- /^[0-9]+\.([0-9]+|x)\.x$/ # hotfix branches
variables:
- $CI_COMMIT_MESSAGE =~ /^chore\(maintenance\).*/ # do not do automatic release after a hotfix / maintenance release
extends: .deploy-to-kubernetes-stage
@@ -563,9 +563,8 @@ image: panterch/docker-ci-kubernetes-deploy
except:
variables:
- $STAGING_ENABLED == "true"
# do not do the automatic release on hotfix branches
refs:
- /^[0-9]+\.([0-9]+|x)\.x$/ # hotfix branches
- $CI_COMMIT_MESSAGE =~ /^chore\(maintenance\).*/ # do not do automatic release after a hotfix / maintenance release
extends: .deploy-to-kubernetes-prod
Loading