diff --git a/.github/workflows/CreateRelease.yml b/.github/workflows/CreateRelease.yml index 699d0d2..ad8c502 100644 --- a/.github/workflows/CreateRelease.yml +++ b/.github/workflows/CreateRelease.yml @@ -70,6 +70,8 @@ jobs: $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', $ENV:NEW_TAG | Out-File $manifest.fullname + Write-Host "Replacing 0.0.0 with $ENV:NEW_TAG" + if (-not $manifest) { throw "No module manifest (*.psd1) found in $modulePath"