Skip to content

Commit 0b3dab2

Browse files
Add release pipeline (#919)
1 parent 21b7374 commit 0b3dab2

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.azure-pipelines/release.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
trigger: none # Only run this pipeline when manually triggered
2+
3+
parameters:
4+
- name: publishVersion
5+
displayName: Version to publish
6+
type: string
7+
- name: dryRun
8+
displayName: Dry run
9+
type: boolean
10+
default: false
11+
12+
resources:
13+
pipelines:
14+
- pipeline: build # identifier to use in pipeline resource variables
15+
source: \Azure Tools\VSCode\Extensions\vscode-azurestaticwebapps # name of the pipeline that produces the artifacts
16+
repositories:
17+
- repository: azExtTemplates
18+
type: github
19+
name: microsoft/vscode-azuretools
20+
ref: main
21+
endpoint: GitHub-AzureTools # The service connection to use when accessing this repository
22+
23+
variables:
24+
# Required by MicroBuild template
25+
- name: TeamName
26+
value: "Azure Tools for VS Code"
27+
28+
# Use those templates
29+
extends:
30+
template: azure-pipelines/release-extension.yml@azExtTemplates
31+
parameters:
32+
pipelineID: $(resources.pipeline.build.pipelineID)
33+
runID: $(resources.pipeline.build.runID)
34+
publishVersion: ${{ parameters.publishVersion }}
35+
dryRun: ${{ parameters.dryRun }}
36+
environmentName: AzCodeDeploy

0 commit comments

Comments
 (0)