summaryrefslogtreecommitdiff
path: root/bin/itch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/itch.sh')
-rw-r--r--bin/itch.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/itch.sh b/bin/itch.sh
new file mode 100644
index 0000000..9388e24
--- /dev/null
+++ b/bin/itch.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+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"
+cd exports
+zip TicTacTux-linux.zip TicTacTux TicTacTux.pck
+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"