From 403f64eeed4786edf2ed0d7eda864a920b945c54 Mon Sep 17 00:00:00 2001 From: Sebastiaan Janssen Date: Sat, 15 Nov 2014 14:19:26 +0100 Subject: [PATCH] Only set comment to blank if there's command line arguments --- build/Build.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Build.bat b/build/Build.bat index f120348f1d..41d7088aff 100644 --- a/build/Build.bat +++ b/build/Build.bat @@ -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%