Skip to content

Commit e789a05

Browse files
author
Marvin Strangfeld
committed
ci: [DEX-2413] Add GitLab release tracking
1 parent 6c77cc4 commit e789a05

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

.gitlab-ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ include:
66
- project: 'deepl/ops/ci-cd-infrastructure/gitlab-ci-lib'
77
file:
88
- '/templates/.secret-detection.yml'
9+
- '/templates/.gitlab-release.yml'
910
- template: Security/SAST.gitlab-ci.yml
1011

1112
# Global --------------------------
@@ -239,3 +240,9 @@ publish to NPM:
239240
script:
240241
- npm config set //registry.npmjs.org/:_authToken ${NPM_PUBLISH_TOKEN}
241242
- 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

Comments
 (0)