Skip to content

Instantly share code, notes, and snippets.

@bearlikelion
Last active December 17, 2025 22:23
Show Gist options
  • Select an option

  • Save bearlikelion/c6ec679d37e23932fedfd7c12ab4f431 to your computer and use it in GitHub Desktop.

Select an option

Save bearlikelion/c6ec679d37e23932fedfd7c12ab4f431 to your computer and use it in GitHub Desktop.
SurfsUp Steam Deploy Scripts
#!/usr/bin/bash
echo "=== Building SurfsUp Release ==="
GODOT_BIN=~/Source/godot-mark/bin/godot.linuxbsd.editor.x86_64
# Export client builds
echo "[1/3] Exporting Windows Client..."
$GODOT_BIN --path ../ --export-release --headless "Windows Release"
echo "[2/3] Exporting Linux Client..."
$GODOT_BIN --path ../ --export-release --headless "Linux Release"
echo "[3/6] Exporting Mac Client..."
$GODOT_BIN --path ../ --export-release --headless "MacOS Release"
# Remove old Mac build
echo "[4/6] Extracting Mac build..."
rm -rf ./Mac/SurfsUp.app
unzip ./Mac/SurfsUp.zip -d ./Mac/
# Prepare Mac build
echo "[5/6] Running Mac prep script..."
cp ./MacPrep/libsteam_api.dylib ./Mac/SurfsUp.app/Contents/MacOS/libsteam_api.dylib
cp -R ./MacPrep/libgodotsteam.framework/ ./Mac/SurfsUp.app/Contents/Frameworks/libgodotsteam.framework/
rm ./Mac/SurfsUp.zip
# Upload to Steam
echo "[6/6] Uploading to Steam..."
./steamcmd.sh +login _markbuild +run_app_build ./scripts/app_3454830.vdf +quit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment