mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
cc.sh: Make git pull and nuget restore non-fatal
This commit is contained in:
4
cc.sh
4
cc.sh
@@ -30,7 +30,7 @@ XBUILD_ARGS+=("/p:Configuration=$BUILD")
|
||||
cd "$(dirname "$(readlink -f "$0")")"
|
||||
|
||||
if [[ -d ".git" ]] && hash git &>/dev/null; then
|
||||
git pull
|
||||
git pull || true
|
||||
fi
|
||||
|
||||
if [[ ! -f "$SOLUTION" ]]; then
|
||||
@@ -39,7 +39,7 @@ if [[ ! -f "$SOLUTION" ]]; then
|
||||
fi
|
||||
|
||||
if hash nuget &>/dev/null; then
|
||||
nuget restore "$SOLUTION"
|
||||
nuget restore "$SOLUTION" || true
|
||||
fi
|
||||
|
||||
if [[ "$CLEAN" -eq 1 ]]; then
|
||||
|
||||
Reference in New Issue
Block a user