From 886ea0184b9c671cf21672f026e4f5185b09283b Mon Sep 17 00:00:00 2001 From: Yury Semikhatsky Date: Tue, 24 Jun 2025 12:16:49 -0700 Subject: [PATCH] devops: fix release branch name check --- .azure-pipelines/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.azure-pipelines/publish.yml b/.azure-pipelines/publish.yml index 6bf18b243..4d73b41d2 100644 --- a/.azure-pipelines/publish.yml +++ b/.azure-pipelines/publish.yml @@ -37,7 +37,7 @@ extends: artifact: esrp-build steps: - bash: | - if [[ ! "$CURRENT_BRANCH" =~ ^v1\\..* ]]; then + if [[ ! "$CURRENT_BRANCH" =~ ^v1\..* ]]; then echo "Can only publish from a release tag branch (v1.*)." echo "Unexpected branch name: $CURRENT_BRANCH" exit 1