Skip to content

Commit 2258977

Browse files
committed
relax release branch version extraction to accept any release/x.y.z* pattern
Signed-off-by: pvijayakrish <pvijayakrish@nvidia.com>
1 parent dea63d9 commit 2258977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
exit 1
5050
fi
5151
52-
if [[ ! "$BRANCH_NAME" =~ ^release/[0-9]+\.[0-9]+\.[0-9].+ ]]; then
52+
if [[ ! "$BRANCH_NAME" =~ ^release/[0-9]+\.[0-9]+\.[0-9]+ ]]; then
5353
echo "Error: workflow_dispatch must be triggered from a release/* branch"
5454
echo "Current branch: $BRANCH_NAME"
5555
exit 1

0 commit comments

Comments
 (0)