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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy