Skip to content

Commit 3bca04b

Browse files
authored
Fix name of Release runs (#15770)
* Fix name of Release runs * Fix the pattern
1 parent 2a9f7c0 commit 3bca04b

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

.ado/release.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
# It releases npm packages to npmjs.com and NuGet packages to the public
44
# ms/react-native and ms/react-native-public ADO feeds and to nuget.org.
55
#
6-
# The triggers are overridden by the ADO pipeline UI definition.
6+
# The pipeline completion trigger is defined below in the pipeline resource.
7+
# Do NOT add a build completion trigger in the ADO UI — UI triggers override
8+
# YAML triggers and cause the pipeline to always run against the default branch
9+
# with incorrect metadata (wrong commit message and branch).
710
#
811

912
name: RNW NuGet Release $(Date:yyyyMMdd).$(Rev:r)
@@ -16,7 +19,13 @@ resources:
1619
- pipeline: 'Publish'
1720
project: 'ReactNative'
1821
source: 'Publish'
19-
trigger: none
22+
trigger:
23+
branches:
24+
include:
25+
- main
26+
- refs/heads/main
27+
- '*-stable'
28+
- 'refs/heads/*-stable'
2029
repositories:
2130
- repository: 1ESPipelineTemplates
2231
type: git

0 commit comments

Comments
 (0)