Content-Length: 271700 | pFad | http://github.com/n0spaces/vscode-powershell/commit/56809a123a56998550ce8ea1774a8c44f465785e

9A Allow release stage only on manual build · n0spaces/vscode-powershell@56809a1 · GitHub
Skip to content

Commit 56809a1

Browse files
committed
Allow release stage only on manual build
So pushes can trigger the pipeline automatically.
1 parent 63d19ed commit 56809a1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.pipelines/vscode-powershell-Official.yml

Lines changed: 3 additions & 2 deletions
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: '25 9 * * 3'
@@ -145,7 +146,7 @@ extends:
145146
displayName: Run tests
146147
- stage: release
147148
dependsOn: build
148-
condition: ne(variables['Build.Reason'], 'Schedule')
149+
condition: eq(variables['Build.Reason'], 'Manual')
149150
variables:
150151
version: $[ stageDependencies.build.main.outputs['package.version'] ]
151152
vsixVersion: $[ stageDependencies.build.main.outputs['package.vsixVersion'] ]

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/n0spaces/vscode-powershell/commit/56809a123a56998550ce8ea1774a8c44f465785e

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy