Skip to content

Commit 9df2165

Browse files
authored
devops: fix release branch name check (#1813)
1 parent 859eb9b commit 9df2165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.azure-pipelines/publish.yml

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

0 commit comments

Comments
 (0)