Skip to content

Commit a339125

Browse files
committed
Every branch starting with "release-" text is a "Release" branch.
1 parent 4949eaa commit a339125

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/Build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Calculate build variables
3838
id: buildVariables
3939
run: |
40-
if ! [[ "$GIT_REF" =~ 'release-[0-9]?\.[0-9]?$' ]]; then
40+
if ! [[ "$GIT_REF" =~ 'release-.+$' ]]; then
4141
CommitNumber=$(git rev-list --count HEAD)
4242
else
4343
CommitNumber=$(git rev-list --count origin/master..)

0 commit comments

Comments
 (0)