Skip to content

Commit d0dfdb6

Browse files
author
Marvin Strangfeld
committed
[DEX-2416] Add GitLab release tracking
1 parent a911ae6 commit d0dfdb6

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Diff for: .gitlab-ci.yml

+7
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 --------------------------
@@ -167,3 +168,9 @@ nuget upload:
167168
script:
168169
- dotnet nuget push package/Release/DeepL.net.*.nupkg --api-key $NUGET_API_KEY
169170
--source https://api.nuget.org/v3/index.json --timeout 30
171+
172+
gitlab release:
173+
stage: publish
174+
extends: .create_gitlab_release
175+
rules:
176+
- if: '$CI_COMMIT_TAG =~ /^v[0-9]+\.[0-9]+\.[0-9]+$/'

0 commit comments

Comments
 (0)