Skip to content

Commit d8d833a

Browse files
committed
fix(steamcmd): update remotebuildversion variable to work with recent steamcmd changes
1 parent eae2f42 commit d8d833a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lgsm/modules/core_steamcmd.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,9 @@ fn_update_steamcmd_remotebuild() {
182182
if [ "${CI}" ]; then
183183
${steamcmdcommand} +login "${steamuser}" "${steampass}" +app_info_update 1 +quit > /dev/null 2>&1
184184
fi
185+
185186
# password for branch not needed to check the buildid
186-
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:]')
187+
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:]')
187188

188189
if [ "${firstcommandname}" != "INSTALL" ]; then
189190
fn_print_dots "Checking remote build: ${remotelocation}"

0 commit comments

Comments
 (0)