If syntax

This commit is contained in:
gitlab
2021-03-26 10:10:10 +00:00
parent 01ea7dfed7
commit 9b4706143d
+2 -2
View File
@@ -13,8 +13,8 @@ build_job:
stage: build
script:
- |-
echo "$env:hasSource"
if [ "$env:hasSource" == "0" ]; then
- echo "$env:hasSource"
if ("$env:hasSource" == "0") then
'& "$env:NUGET_PATH" sources Add -Name "`"Steamware Nexus`"" -Source http://nexus.steamware.net/repository/nuget-group -username "`"nugetUser`"" -password "`"viaDante16`""'
else
'& "$env:NUGET_PATH" sources Update -Name "`"Steamware Nexus`"" -Source http://nexus.steamware.net/repository/nuget-group -username "`"nugetUser`"" -password "`"viaDante16`""'