Skip to content

Commit 4c38744

Browse files
committed
Add choco pack to azure devops build pipeline
1 parent c74d8a8 commit 4c38744

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

azure-pipelines.yml

+18
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,24 @@ steps:
5252
targetFolder: '$(Build.ArtifactStagingDirectory)'
5353
flattenFolders: true
5454

55+
- task: CopyFiles@2
56+
displayName: 'Copy Vsix to Chocolatey'
57+
inputs:
58+
contents: '**\?(*.vsix)'
59+
targetFolder: '$(Build.Repository.LocalPath)/ChocolateyPackage/GitDiffMargin/tools/'
60+
flattenFolders: true
61+
62+
steps:
63+
- task: gep13.chocolatey-azuredevops.chocolatey-azuredevops.ChocolateyCommand@0
64+
displayName: 'Chocolatey pack'
65+
inputs:
66+
debug: true
67+
verbose: true
68+
trace: true
69+
packWorkingDirectory: '$(Build.Repository.LocalPath)/ChocolateyPackage/GitDiffMargin/'
70+
packNuspecFileName: GitDiffMargin.nuspec
71+
packVersion: '$(Build.BuildNumber)'
72+
5573
#- task: PowerShell@2
5674
# displayName: 'Rename Build Artifacts'
5775
# inputs:

0 commit comments

Comments
 (0)