Skip to content

Commit 4f0e23e

Browse files
committed
ci: Allow creating release notes on releases branches
1 parent 38a1917 commit 4f0e23e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ release:create:
7272
before_script:
7373
- export RELEASE_VERSION=`sed -n 's/.*<Version>\(.*\)<\/Version>.*/\1/p' ./src/Directory.Build.props`
7474
rules:
75-
- if: '$CI_COMMIT_REF_SLUG == "main"'
75+
- if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH =~ /^release\//
7676
when: manual
7777

7878
publish:

0 commit comments

Comments
 (0)