We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c77cc4 commit e789a05Copy full SHA for e789a05
1 file changed
.gitlab-ci.yml
@@ -6,6 +6,7 @@ include:
6
- project: 'deepl/ops/ci-cd-infrastructure/gitlab-ci-lib'
7
file:
8
- '/templates/.secret-detection.yml'
9
+ - '/templates/.gitlab-release.yml'
10
- template: Security/SAST.gitlab-ci.yml
11
12
# Global --------------------------
@@ -239,3 +240,9 @@ publish to NPM:
239
240
script:
241
- npm config set //registry.npmjs.org/:_authToken ${NPM_PUBLISH_TOKEN}
242
- npm publish
243
+
244
+gitlab release:
245
+ stage: publish
246
+ extends: .create_gitlab_release
247
+ rules:
248
+ - if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/'
0 commit comments