diff --git a/.github/workflows/GitFlow_Nightly-builds.yml b/.github/workflows/GitFlow_Nightly-builds.yml index 97464f0f..44507789 100644 --- a/.github/workflows/GitFlow_Nightly-builds.yml +++ b/.github/workflows/GitFlow_Nightly-builds.yml @@ -44,6 +44,9 @@ jobs: Write-Host "Checking for new changes since last release" -ForegroundColor Cyan Write-Host "========================================" -ForegroundColor Cyan + # Initialize RELEASE_TYPE with a default value to handle edge cases + $RELEASE_TYPE = "preminor" + # Get the latest release tag to determine release type $LATEST_TAG = git tag -l --sort=-version:refname | Select-Object -First 1 Write-Host "`n[INFO] Latest release tag: $LATEST_TAG" -ForegroundColor Green