From feb906aaf33b003ac097cebf3f7a7de7a2b6903d Mon Sep 17 00:00:00 2001 From: Arwyn <10365998+ArwynFr@users.noreply.github.com> Date: Sun, 30 Apr 2023 18:36:13 +0200 Subject: [PATCH] fix: add verbosity --- .github/workflows/release.yml | 4 ++-- build/Release.ps1 | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 13d5240..8f0fd85 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,7 @@ on: workflow_dispatch: push: branches: [master] - paths: ["src/**"] + # paths: ["src/**"] jobs: release: @@ -19,7 +19,7 @@ jobs: - name: 'Copy templates' shell: pwsh - run: build/Release.ps1 -Version ${{ steps.new-version.outputs.next-version }} -ApiKey ${{ secrets.PSGALLERY_APIKEY }} + run: build/Release.ps1 -Version ${{ steps.new-version.outputs.next-version }} -ApiKey ${{ secrets.PSGALLERY_APIKEY }} -Verbose - name: Tag new version on the repository uses: arwynfr/actions-conventional-versioning@v1 diff --git a/build/Release.ps1 b/build/Release.ps1 index 69f88bc..65d54e6 100644 --- a/build/Release.ps1 +++ b/build/Release.ps1 @@ -17,5 +17,7 @@ $Destination = Join-Path $Root out/ArmaServer Copy-Item $Sources/.templates $Destination/.templates -Recurse -Force Copy-Item $Builds/ArmaServer.psd1 $Destination/ArmaServer.psd1 -Force Get-ChildItem $Sources -Filter '*.ps1' | & $Builds/New-PowershellModuleFile.ps1 -DestinationPath $Destination/ArmaServer.psm1 -Force +Import-PowerShellDataFile $Destination/ArmaServer.psd1 | ConvertTo-Json | Write-Verbose +Get-ChildItem -Recurse $Destination Update-ModuleManifest -ModuleVersion $Version $Destination/ArmaServer.psd1 Publish-Module -Path $Destination -NuGetApiKey $ApiKey \ No newline at end of file