mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Don't try to git tag if not running git
This commit is contained in:
parent
63e3113331
commit
0f0e6f3d56
@ -205,7 +205,7 @@ try {
|
||||
if ($forcetag) {
|
||||
$forcearg = "-f"
|
||||
}
|
||||
if (-not $test -and -not $dryrun) {
|
||||
if (-not $test -and -not $dryrun -and $isGit) {
|
||||
if ($src -ne ".") { Push-Location $src }
|
||||
git tag $forcearg -a $versionNumber -m "Automated release tag"
|
||||
if ($LASTEXITCODE -ne 0) { Exit $LASTEXITCODE }
|
||||
|
Loading…
x
Reference in New Issue
Block a user