#!/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"