Skip to content

Instantly share code, notes, and snippets.

@nhaskins
Created March 30, 2019 15:46
Show Gist options
  • Save nhaskins/3a452582cd53b96ac17f21b456aaac86 to your computer and use it in GitHub Desktop.
Save nhaskins/3a452582cd53b96ac17f21b456aaac86 to your computer and use it in GitHub Desktop.
Butler upload automation
@echo off
REM #push build to itch.io using butler / refinery
REM ### fill out config settings ####
set pathToBuild=c:\builds\DIM
set butlerName=bunnygun/dim-decent-into-madness-vr:win
REM ###run####
REM #compress the build to tmp zip for Butler use:
cd %pathToBuild%
7z a tmp.zip %pathToBuild%\*
REM #send file to itch.io via Butler:
butler push %pathToBuild%\tmp.zip %butlerName%
REM #cleanup tmp zip file:
del %pathToBuild%\tmp.zip
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment