From afb1ca10cca0982d37fe76b226b606ca7aa5335c Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Mon, 25 Dec 2023 01:03:44 +0100 Subject: itch.io publish --- bin/itch.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 bin/itch.sh (limited to 'bin/itch.sh') 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" -- cgit v1.2.3