From 73a004e74ba66eaef409873e34a321b962dd18c8 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Thu, 16 Nov 2017 10:21:05 -0500 Subject: [PATCH] itchio pushers --- buildsuper_x86.sh | 0 itchio_push_all.bat | 31 +++++++++++++++++++++++++++++++ itchio_push_all.sh | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) mode change 100644 => 100755 buildsuper_x86.sh create mode 100644 itchio_push_all.bat create mode 100755 itchio_push_all.sh diff --git a/buildsuper_x86.sh b/buildsuper_x86.sh old mode 100644 new mode 100755 diff --git a/itchio_push_all.bat b/itchio_push_all.bat new file mode 100644 index 00000000..a7a9833b --- /dev/null +++ b/itchio_push_all.bat @@ -0,0 +1,31 @@ +@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 \ No newline at end of file diff --git a/itchio_push_all.sh b/itchio_push_all.sh new file mode 100755 index 00000000..cc37cd27 --- /dev/null +++ b/itchio_push_all.sh @@ -0,0 +1,35 @@ +#!/bin/sh + +#todo rewrite this as a build.cpp script + +if [ "$#" -lt "3" ] +then +echo need 3 parameters +exit +else + +fake=$1 +maj=$2 +min=$3 + +vr=$fake.$maj.$min +fv=$fake-$maj-$min + +flags="--fix-permissions --userversion=$vr" +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 + +fi