Only set comment to blank if there's command line arguments

This commit is contained in:
Sebastiaan Janssen
2014-11-15 14:19:26 +01:00
parent 5aa29cc150
commit 403f64eeed

View File

@@ -12,7 +12,7 @@ FOR /F "skip=2 delims=" %%i IN (UmbracoVersion.txt) DO IF NOT DEFINED comment SE
REM If there's arguments on the command line overrule UmbracoVersion.txt and use that as the version
IF [%1] NEQ [] (SET release=%1)
IF [%2] NEQ [] (SET comment=%2) ELSE (SET "comment=")
IF [%2] NEQ [] (SET comment=%2) ELSE (IF [%1] NEQ [] (SET "comment="))
SET version=%release%