Skip to content

Commit 9b786ca

Browse files
BuildOutput dynamic
1 parent b49a24a commit 9b786ca

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

steam_deploy.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ else
1111
fi
1212

1313
# these are temporary file we create, so in a tmpdir
14-
mkdir BuildOutput
14+
build_output_path=$(mktemp -d)/BuildOutput
15+
mkdir -p $build_output_path
1516
manifest_path=$(pwd)/manifest.vdf
1617

1718
echo ""
@@ -87,7 +88,7 @@ cat << EOF > "manifest.vdf"
8788
{
8889
"appid" "$appId"
8990
"desc" "$buildDescription"
90-
"buildoutput" "BuildOutput"
91+
"buildoutput" "$build_output_path"
9192
"contentroot" "$contentroot"
9293
"setlive" "$releaseBranch"
9394
@@ -194,9 +195,9 @@ steamcmd +login "$steam_username" +run_app_build "$manifest_path" +quit || (
194195
echo "# Output #"
195196
echo "#################################"
196197
echo ""
197-
ls -Ralph BuildOutput
198+
ls -Ralph $build_output_path
198199

199-
for f in BuildOutput/*.log; do
200+
for f in $build_output_path/*.log; do
200201
echo "######## $f"
201202
cat "$f"
202203
echo

0 commit comments

Comments
 (0)