Skip to content

Commit 5cb6907

Browse files
committed
Fix build scripts
1 parent 2efe97a commit 5cb6907

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

build.cmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if NOT "x%YAMATO_JOB_ID%"=="x" set CI_COMMIT_TAG=%GIT_TAG%
66
if NOT "x%YAMATO_JOB_ID%"=="x" set CI_COMMIT_REF_NAME=%GIT_BRANCH%
77

88
SET CONFIGURATION=Release
9-
SET PUBLIC=""
9+
SET PUBLIC=
1010
SET BUILD=0
1111
set UPM=0
1212
set UNITYVERSION=2019.2
@@ -58,11 +58,11 @@ IF NOT "%1"=="" (
5858
GOTO :loop
5959
)
6060

61-
if "%UNITYBUILD%" == "1" (
62-
set CONFIGURATION="%CONFIGURATION%Unity"
61+
if "x%UNITYBUILD%" == "x1" (
62+
set CONFIGURATION=%CONFIGURATION%Unity
6363
)
6464

65-
if "%APPVEYOR%" == "" (
65+
if "x%APPVEYOR%" == "x" (
6666
dotnet restore
6767
)
6868

pack.cmd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ if NOT "x%YAMATO_JOB_ID%"=="x" set CI_COMMIT_TAG=%GIT_TAG%
66
if NOT "x%YAMATO_JOB_ID%"=="x" set CI_COMMIT_REF_NAME=%GIT_BRANCH%
77

88
SET CONFIGURATION=Release
9-
SET PUBLIC=""
9+
SET PUBLIC=
1010
SET BUILD=0
1111
set UPM=0
1212
set UNITYVERSION=2019.2
@@ -58,12 +58,12 @@ IF NOT "%1"=="" (
5858
GOTO :loop
5959
)
6060

61-
if "%UNITYBUILD%" == "1" (
62-
set CONFIGURATION="%CONFIGURATION%Unity"
61+
if "x%UNITYBUILD%" == "x1" (
62+
set CONFIGURATION=%CONFIGURATION%Unity
6363
)
6464

6565
if "x%BUILD%"=="x1" (
66-
if "%APPVEYOR%" == "" (
66+
if "x%APPVEYOR%" == "x" (
6767
dotnet restore
6868
)
6969
dotnet build --no-restore -c %CONFIGURATION% %PUBLIC%

0 commit comments

Comments
 (0)