diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2023-12-25 01:03:44 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2023-12-25 01:11:22 +0100 |
commit | afb1ca10cca0982d37fe76b226b606ca7aa5335c (patch) | |
tree | 7a10fbcc3ce516c3537673dc05fb11ae55750545 /bin/itch.sh | |
parent | 0bfda86c29d106df5fa3dd16d925c193b3f726c7 (diff) |
itch.io publish
Diffstat (limited to 'bin/itch.sh')
-rw-r--r-- | bin/itch.sh | 13 |
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" |