Skip to content

Commit 3a2fff2

Browse files
committed
match v1.* tags
1 parent 6075e6f commit 3a2fff2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.azure-pipelines/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ extends:
3737
artifact: esrp-build
3838
steps:
3939
- bash: |
40-
if [[ ! "$CURRENT_BRANCH" =~ ^release-.* ]]; then
41-
echo "Can only publish from a release branch."
40+
if [[ ! "$CURRENT_BRANCH" =~ ^v1\\..* ]]; then
41+
echo "Can only publish from a release tag branch (v1.*)."
4242
echo "Unexpected branch name: $CURRENT_BRANCH"
4343
exit 1
4444
fi

0 commit comments

Comments
 (0)