Skip to content

Commit

Permalink
Publish ZIP module too
Browse files Browse the repository at this point in the history
  • Loading branch information
andyleejordan committed May 1, 2024
1 parent e38d0ef commit 031531c
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .pipelines/ConsoleGuiTools-Official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,15 @@ extends:
files_to_sign: |
NStack.dll;
Terminal.Gui.dll;
- task: ArchiveFiles@2
displayName: Zip module
inputs:
rootFolderOrFile: $(Build.SourcesDirectory)/module
includeRootFolder: false
archiveType: zip
archiveFile: out/ConsoleGuiTools-v$(package.version).zip
- pwsh: Invoke-Build -Configuration $(BuildConfiguration) Package
displayName: Package
displayName: Package module
- task: onebranch.pipeline.signing@1
displayName: Sign NuGet package
inputs:
Expand Down Expand Up @@ -118,7 +125,9 @@ extends:
inputs:
gitHubConnection: GitHub
repositoryName: PowerShell/ConsoleGuiTools
assets: $(drop)/Microsoft.PowerShell.ConsoleGuiTools.$(version).nupkg
assets: |
$(drop)/Microsoft.PowerShell.ConsoleGuiTools.$(version).nupkg
$(drop)/ConsoleGuiTools-v$(version).zip
tagSource: userSpecifiedTag
tag: v$(version)
isDraft: true
Expand Down

0 comments on commit 031531c

Please sign in to comment.