gitlab ci templates to extend autodevops
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ci-templates/Semantic-Release.gitlab-ci.yml

15 lines
428 B

---
# You need to setup some CI/CD variables
# I recommend to set it on Group to make things easier
# see https://docs.gitlab.com/ee/ci/examples/semantic-release.html#set-up-cicd-variables
workflow:
rules:
- if: "$SEMANTIC_RELEASE_DISABLED"
when: never
- if: "$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH"
when: always
include:
- /Semantic-Release-Base.gitlab-ci.yml
- /Semantic-Release-NPM.gitlab-ci.yml