Skip to content

Commit

Permalink
update remotebuildversion variable
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Dec 19, 2024
1 parent d7e820c commit 3589385
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lgsm/modules/core_steamcmd.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 3589385

Please sign in to comment.