mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-07 03:26:50 +08:00
update remotebuildversion variable
This commit is contained in:
parent
d7e820c21a
commit
35893851e6
@ -183,8 +183,9 @@ fn_update_steamcmd_remotebuild() {
|
||||
if [ "${CI}" ]; then
|
||||
${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +quit > /dev/null 2>&1
|
||||
fi
|
||||
|
||||
# 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:]')
|
||||
remotebuildversion=$(${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_request "${appid}" +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:]')
|
||||
|
||||
if [ "${firstcommandname}" != "INSTALL" ]; then
|
||||
fn_print_dots "Checking remote build: ${remotelocation}"
|
||||
|
Loading…
Reference in New Issue
Block a user