Skip to content

Commit 655c722

Browse files
committed
Update build.yml for Azure Pipelines
1 parent 8ef4d36 commit 655c722

File tree

1 file changed

+9
-12
lines changed

1 file changed

+9
-12
lines changed

build.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
11
trigger:
2-
branches:
3-
include:
4-
- master
5-
tags:
6-
include: ['*']
72

83
jobs:
94
- job: Windows
@@ -93,11 +88,13 @@ jobs:
9388
inputs:
9489
pathToPublish: $(Build.ArtifactStagingDirectory)
9590
artifactName: azure-pipelines-vscode
96-
- task: UniversalPackages@0
91+
- task: GitHubRelease@0
9792
inputs:
98-
command: 'publish'
99-
vstsFeed: 'b5e21e33-9745-400e-8ad9-e9df6cf7c119'
100-
publishDirectory: '$(Build.ArtifactStagingDirectory)'
101-
feedsToUsePublish: 'internal'
102-
vstsFeedPublish: 'b5e21e33-9745-400e-8ad9-e9df6cf7c119'
103-
versionOption: 'patch'
93+
gitHubConnection: 'github'
94+
repositoryName: '$(Build.Repository.Name)'
95+
action: 'create'
96+
target: '$(Build.SourceVersion)'
97+
tagSource: 'manual'
98+
tag: '${Build.BuildNumber}'
99+
releaseNotesSource: 'input'
100+
isPreRelease: true

0 commit comments

Comments
 (0)