Skip to content

Commit 632eba6

Browse files
committed
Allow release stage only on manual build
1 parent bda4d9f commit 632eba6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.pipelines/ConsoleGuiTools-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: '50 19 * * 3'
@@ -119,7 +120,7 @@ extends:
119120
files_to_sign: "*.nupkg"
120121
- stage: release
121122
dependsOn: build
122-
condition: ne(variables['Build.Reason'], 'Schedule')
123+
condition: eq(variables['Build.Reason'], 'Manual')
123124
variables:
124125
version: $[ stageDependencies.build.main.outputs['package.version'] ]
125126
drop: $(Pipeline.Workspace)/drop_build_main

0 commit comments

Comments
 (0)