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
+99-62Lines changed: 99 additions & 62 deletions
Original file line number
Diff line number
Diff line change
@@ -15,72 +15,109 @@ parameters:
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)
17
17
- group: vscode-csharp release secrets
18
+
# This is expected to provide pat to tag release.
19
+
- group: DncEng-Partners-Tokens
18
20
19
-
jobs:
20
-
- deployment: PublishToMarketplace
21
-
displayName: PublishToMarketplace
22
-
environment: vscode-csharp-release-approvals
23
-
pool:
24
-
vmImage: ubuntu-latest
25
-
strategy:
26
-
runOnce:
27
-
deploy:
28
-
steps:
29
-
- download: 'none'
30
-
- task: DownloadPipelineArtifact@2
31
-
displayName: '📦 Download artifacts from build pipeline.'
Write-Host "All artifacts: $($allArtifacts). Publishing $($publishArtifacts)."
53
+
$publishArtifacts = $allArtifacts[0]
54
+
Write-Host "All artifacts: $($allArtifacts). Publishing $($publishArtifacts)."
51
55
52
-
$additionalPublishArgs = , "publish"
53
-
# 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
54
-
If ("$(resources.pipeline.officialBuildCI.sourceBranch)" -eq "refs/heads/main") {
# 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
58
+
If ("$(resources.pipeline.officialBuildCI.sourceBranch)" -eq "refs/heads/main") {
0 commit comments