mirror of
https://github.com/cxong/cdogs-sdl.git
synced 2025-07-23 07:23:01 +02:00
19 lines
435 B
Batchfile
19 lines
435 B
Batchfile
@echo off
|
|
setlocal enabledelayedexpansion
|
|
|
|
if "!BUTLER_API_KEY!" == "" (
|
|
echo Unable to deploy - No BUTLER_API_KEY environment variable specified
|
|
exit /b 1
|
|
)
|
|
|
|
set PROJECT="congusbongus/cdogs-sdl"
|
|
|
|
echo "Preparing butler..."
|
|
curl -L -o butler.zip https://broth.itch.ovh/butler/windows-amd64/LATEST/archive/default
|
|
7z x -y butler.zip
|
|
butler -V
|
|
|
|
for %%f in (C-Dogs*.zip) do (
|
|
butler push --userversion !VERSION! %%f !PROJECT!:win
|
|
)
|