summaryrefslogtreecommitdiff
path: root/bin/itch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/itch.sh')
-rwxr-xr-x[-rw-r--r--]bin/itch.sh16
1 files changed, 10 insertions, 6 deletions
diff --git a/bin/itch.sh b/bin/itch.sh
index 9388e24..8ab5279 100644..100755
--- a/bin/itch.sh
+++ b/bin/itch.sh
@@ -2,12 +2,16 @@
VERSION=$(git describe --tags --abbrev=0)
-godot --headless --export-release "Linux/X11" "exports/TicTacTux"
-godot --headless --export-release "macOS" "exports/TicTacTux.zip"
-godot --headless --export-release "Windows Desktop" "exports/TicTacTux.exe"
+godot --headless --rendering-driver opengl3 --export-release "Linux/X11" "exports/TicTacTux"
+godot --headless --rendering-driver opengl3 --export-release "macOS" "exports/TicTacTux.zip"
+godot --headless --rendering-driver opengl3 --export-release "Windows Desktop" "exports/TicTacTux.exe"
+
cd exports
zip TicTacTux-linux.zip TicTacTux TicTacTux.pck
+mv TicTacTux.zip TicTacTux-osx.zip
zip TicTacTux-win.zip TicTacTux.exe TicTacTux.pck
-butler push TicTacTux-linux.zip dweipert/tictactux:linux --userversion="$VERSION"
-butler push TicTacTux.zip dweipert/tictactux:osx --userversion="$VERSION"
-butler push TicTacTux-win.zip dweipert/tictactux:win --userversion="$VERSION"
+cd ..
+
+butler push exports/TicTacTux-linux.zip dweipert/tictactux:linux --userversion="$VERSION"
+butler push exports/TicTacTux-osx.zip dweipert/tictactux:osx --userversion="$VERSION"
+butler push exports/TicTacTux-win.zip dweipert/tictactux:win --userversion="$VERSION"