Skip to content

Commit b28f7a8

Browse files
authored
Merge pull request #1097 from Romanitho/copilot/sub-pr-1095
Add default initialization for RELEASE_TYPE to handle edge cases
2 parents 323f148 + 8bd0b28 commit b28f7a8

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/GitFlow_Nightly-builds.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,9 @@ jobs:
4444
Write-Host "Checking for new changes since last release" -ForegroundColor Cyan
4545
Write-Host "========================================" -ForegroundColor Cyan
4646
47+
# Initialize RELEASE_TYPE with a default value to handle edge cases
48+
$RELEASE_TYPE = "preminor"
49+
4750
# Get the latest release tag to determine release type
4851
$LATEST_TAG = git tag -l --sort=-version:refname | Select-Object -First 1
4952
Write-Host "`n[INFO] Latest release tag: $LATEST_TAG" -ForegroundColor Green

0 commit comments

Comments
 (0)