You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: azure-pipelines/release.yml
+12-11Lines changed: 12 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,16 @@
1
1
trigger: none
2
2
pr: none
3
3
4
+
resources:
5
+
pipelines:
6
+
- pipeline: officialBuildCI
7
+
source: dotnet-vscode-csharp
8
+
branch: main
9
+
4
10
parameters:
5
11
- name: test
6
12
type: boolean
7
13
default: true
8
-
- name: branch
9
-
type: string
10
-
default: prerelease
11
-
values:
12
-
- prerelease
13
-
- release
14
14
15
15
variables:
16
16
# This is expected to provide VisualStudioMarketplacePAT to the release (https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token)
# Artifacts are published to either pre-release or release based on the build branch, https://code.visualstudio.com/api/working-with-extensions/publishing-extension#prerelease-extensions
47
-
If ("${{ parameters.branch }}" -eq "prerelease") {
48
+
If ("$(resources.pipeline.officialBuildCI.sourceBranch)" -eq "refs/heads/main") {
0 commit comments