4coder/itchio_push_all.bat

31 lines
1.3 KiB
Batchfile
Raw Normal View History

2017-11-16 15:21:05 +00:00
@echo off
REM todo rewrite this as a build.cpp script
IF "%3" == "" (echo need 3 parameters & GOTO END)
SET fake=%1
SET maj=%2
SET min=%3
SET vr=%fake%.%maj%.%min%
SET fv=%fake%.%maj%.%min%
SET flags=--fix-permissions --userversion=%vr%
SET dir=..\\current_dist_all_os
butler push %flags% %dir%/4coder-alpha-%fv%-win-x64.zip 4coder/4coder:win-x64-alpha
butler push %flags% %dir%/4coder-alpha-%fv%-linux-x64.zip 4coder/4coder:linux-x64-alpha
butler push %flags% %dir%/4coder-alpha-%fv%-mac-x64.zip 4coder/4coder:osx-x64-alpha
butler push %flags% %dir%/4coder-alpha-%fv%-win-x86.zip 4coder/4coder:win-x86-alpha
butler push %flags% %dir%/4coder-alpha-%fv%-linux-x86.zip 4coder/4coder:linux-x86-alpha
butler push %flags% %dir%/4coder-alpha-%fv%-mac-x86.zip 4coder/4coder:osx-x86-alpha
butler push %flags% %dir%/4coder-alpha-%fv%-super-win-x64.zip 4coder/4coder:win-x64-super
butler push %flags% %dir%/4coder-alpha-%fv%-super-linux-x64.zip 4coder/4coder:linux-x64-super
butler push %flags% %dir%/4coder-alpha-%fv%-super-mac-x64.zip 4coder/4coder:osx-x64-super
butler push %flags% %dir%/4coder-alpha-%fv%-super-win-x86.zip 4coder/4coder:win-x86-super
butler push %flags% %dir%/4coder-alpha-%fv%-super-linux-x86.zip 4coder/4coder:linux-x86-super
butler push %flags% %dir%/4coder-alpha-%fv%-super-mac-x86.zip 4coder/4coder:osx-x86-super
:END