Skip to content

Commit dea63d9

Browse files
Update .github/workflows/release.yml
Co-authored-by: Dmitry Tokarev <dtokarev@nvidia.com> Signed-off-by: Pavithra Vijayakrishnan <160681768+pvijayakrish@users.noreply.github.com>
1 parent 6c10815 commit dea63d9

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/.+ ]]; 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)