Skip to content

Commit 22c1fc8

Browse files
committedSep 23, 2024·
Allow release stage only on manual build
So pushes can trigger the pipeline automatically.
1 parent a99180d commit 22c1fc8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎.pipelines/PowerShellEditorServices-Official.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
# Support: https://aka.ms/onebranchsup #
99
#################################################################################
1010

11-
trigger: none
11+
trigger:
12+
- main
1213

1314
schedules:
1415
- cron: '35 13 * * 4'
@@ -131,7 +132,7 @@ extends:
131132
**/System.Reactive.dll;
132133
- stage: release
133134
dependsOn: build
134-
condition: ne(variables['Build.Reason'], 'Schedule')
135+
condition: eq(variables['Build.Reason'], 'Manual')
135136
variables:
136137
version: $[ stageDependencies.build.main.outputs['package.version'] ]
137138
prerelease: $[ stageDependencies.build.main.outputs['package.prerelease'] ]

0 commit comments

Comments
 (0)
Please sign in to comment.