From 031531cd01d6d1cb004d6d3e8a2e4c81079c0d5c Mon Sep 17 00:00:00 2001 From: Andy Jordan <2226434+andyleejordan@users.noreply.github.com> Date: Wed, 1 May 2024 14:15:54 -0700 Subject: [PATCH] Publish ZIP module too --- .pipelines/ConsoleGuiTools-Official.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/.pipelines/ConsoleGuiTools-Official.yml b/.pipelines/ConsoleGuiTools-Official.yml index 01e965d..b246120 100644 --- a/.pipelines/ConsoleGuiTools-Official.yml +++ b/.pipelines/ConsoleGuiTools-Official.yml @@ -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: @@ -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