fix(steamcmd): hide steamcmd output

This commit is contained in:
Daniel Gibbs 2023-09-19 16:57:39 +01:00
parent 5c33eb33c4
commit 79dc5f7a13
No known key found for this signature in database
GPG Key ID: 2076B128385E8C55

View File

@ -179,7 +179,7 @@ fn_update_steamcmd_remotebuild() {
fi
# added as was failing GitHub Actions test. Running SteamCMD twice seems to fix it.
${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +quit 2> /dev/null
${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +quit > /dev/null 2>&1
# password for branch not needed to check the buildid
remotebuildversion=$(${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +app_info_print "${appid}" +quit | sed -e '/"branches"/,/^}/!d' | sed -n "/\"${branch}\"/,/}/p" | grep -m 1 buildid | tr -cd '[:digit:]')