Should not tag if -keepversion, unless also -forcetag

This commit is contained in:
Steve Streeting 2020-11-17 14:34:22 +00:00
parent ef3140dc50
commit a1482265e8

View File

@ -200,6 +200,7 @@ try {
# For tagging release
# We only need to grab the main version once
if ((-not $keepversion) -or $forcetag) {
$forcearg = ""
if ($forcetag) {
$forcearg = "-f"
@ -210,6 +211,7 @@ try {
if ($LASTEXITCODE -ne 0) { Exit $LASTEXITCODE }
if ($src -ne ".") { Pop-Location }
}
}
$ueEditorCmd = Join-Path $ueinstall "Engine/Binaries/Win64/UE4Editor-Cmd$exeSuffix"
$runUAT = Join-Path $ueinstall "Engine/Build/BatchFiles/RunUAT$batchSuffix"