4coder/bin/itchio_push_win.bat

26 lines
614 B
Batchfile
Raw Normal View History

2019-12-19 05:05:30 +00:00
@echo off
IF "%3" == "" (echo need 3 parameters & GOTO END)
SET fake=%1
SET maj=%2
SET min=%3
2020-02-06 17:38:04 +00:00
SET vr=%fake%.%maj%.%min%
2019-12-19 05:05:30 +00:00
SET fv=%fake%-%maj%-%min%
SET flags=--fix-permissions --userversion=%vr%
pushd ..
SET dir=%CD%\distributions
butler push %flags% %dir%\demo_x64\4coder-%fv%-demo-win-x64.zip 4coder/4coder:win-x64-demo
butler push %flags% %dir%\demo_x86\4coder-%fv%-demo-win-x86.zip 4coder/4coder:win-x86-demo
butler push %flags% %dir%\super_x64\4coder-%fv%-super-win-x64.zip 4coder/4coder:win-x64
butler push %flags% %dir%\super_x86\4coder-%fv%-super-win-x86.zip 4coder/4coder:win-x86
popd
2021-05-02 03:10:03 +00:00
:END