Commit fc007da0 authored by Philip Paetz's avatar Philip Paetz
Browse files

fix: avoid running the slack-changelog-notifier twice for manual service releases

parent 6bd63008
Pipeline #31001 passed with stages
in 22 seconds
......@@ -7,3 +7,4 @@ release_automatically:
- node -v
- echo '//registry.npmjs.org/:_authToken=${SECRET_NPM_TOKEN}' > .npmrc
- npm publish --access public
- npx @brickblock/slack-changelog-notifier --projectName $CI_PROJECT_NAME
......@@ -80,10 +80,10 @@ variables:
.release:
stage: release
variables:
GIT_USER_NAME: "gitlab-bot"
GIT_USER_EMAIL: "gitlab-bot@brickblock.io"
GIT_HOST: "git.brickblock.sh"
REPOSITORY_PATH: "${CI_PROJECT_PATH}"
GIT_USER_NAME: 'gitlab-bot'
GIT_USER_EMAIL: 'gitlab-bot@brickblock.io'
GIT_HOST: 'git.brickblock.sh'
REPOSITORY_PATH: '${CI_PROJECT_PATH}'
extends:
- .except-ci-release
- .cache-pull-only
......@@ -100,5 +100,3 @@ variables:
- git push
https://${GIT_USER_NAME}:${SECRET_GITLAB_BOT_CI_TOKEN}@${GIT_HOST}/${REPOSITORY_PATH}
HEAD:master --follow-tags
after_script:
- npx @brickblock/slack-changelog-notifier --projectName $CI_PROJECT_NAME
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment