I shared this with the thought that it might be useful to you. It may not work for your game and I made no effort to make it cross platform. That said, it's Python... results may vary.
Please do not send pull requests. Take it and go in peace.
Pushing to itch.io requires configuring butler: https://itch.io/docs/butler/
Pushing to Steam requires configuring the Steam SDK: https://partner.steamgames.com/doc/sdk/uploading
For Steam you'll also need to create a file BUILDDIR/.steam where the first line is your Steam username and the second line is your Steam password.
- Start with
config.pyand plug in your paths - Run
buildto build (builds and creates changelog) - Run
pushto upload to itch and steam - Run
list-changesto print a changelog - Add
post-committo your git hooks to post commits to Discord
Discord integration works via webhooks. Create a webhook URL for your channel and place in BUILDDIR/.discord-git. That webhook is used for the post-commit git hook. Create another webhook URL and place in BUILDDIR/.discord-announce. That webhook is used for posting changelogs from push.
The post-commit script will ignore commits containing #private.