We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ad596a commit fddb146Copy full SHA for fddb146
1 file changed
.azure-pipelines/publish.yml
@@ -1,6 +1,10 @@
1
-trigger: none
2
pr: none
3
+trigger:
4
+ tags:
5
+ include:
6
+ - '*'
7
+
8
resources:
9
repositories:
10
- repository: 1esPipelines
@@ -33,8 +37,8 @@ extends:
33
37
artifact: esrp-build
34
38
steps:
35
39
- bash: |
36
- if [[ ! "$CURRENT_BRANCH" =~ ^release-.* ]]; then
- 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.*)."
42
echo "Unexpected branch name: $CURRENT_BRANCH"
43
exit 1
44
fi
0 commit comments