From daccb0ac2ff31421bffc31df989ad3fa65e261d4 Mon Sep 17 00:00:00 2001 From: Mike Madeja Date: Sun, 15 Jun 2025 22:16:01 -0500 Subject: [PATCH] debugging --- .github/workflows/CreateRelease.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CreateRelease.yml b/.github/workflows/CreateRelease.yml index b4580b1..699d0d2 100644 --- a/.github/workflows/CreateRelease.yml +++ b/.github/workflows/CreateRelease.yml @@ -69,11 +69,13 @@ jobs: $apiKey = '${{ secrets.POWERSHELLGALLERY }}' $modulePath = "PiHoleShell" # Change to your actual module folder $manifest = Get-ChildItem -Path $modulePath -Filter PiHoleShell.psd1 -Recurse | Select-Object -First 1 - (Get-Content $($manifest.fullname)) -replace '0.0.0', ${{ steps.bump.outputs.new_tag }} | Out-File $manifest.fullname + (Get-Content $($manifest.fullname)) -replace '0.0.0', $ENV:NEW_TAG | Out-File $manifest.fullname if (-not $manifest) { throw "No module manifest (*.psd1) found in $modulePath" } Write-Host "Publishing module: $($manifest.FullName)" - Publish-Module -Path $manifest.DirectoryName -NuGetApiKey $apiKey -Verbose \ No newline at end of file + Publish-Module -Path $manifest.DirectoryName -NuGetApiKey $apiKey -Verbose + env: + NEW_TAG: ${{ steps.bump.outputs.new_tag }} \ No newline at end of file