From 956b70c0970709c86b644bb2ca2aa964ab49eeb2 Mon Sep 17 00:00:00 2001 From: Allen Webster Date: Sun, 1 Mar 2020 17:47:58 -0800 Subject: [PATCH] Split itchio push script for 32-bit --- bin/itchio_push_linux-x86.sh | 22 ++++++++++++++++++++++ bin/itchio_push_linux.sh | 2 -- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 bin/itchio_push_linux-x86.sh diff --git a/bin/itchio_push_linux-x86.sh b/bin/itchio_push_linux-x86.sh new file mode 100644 index 00000000..d98b1b19 --- /dev/null +++ b/bin/itchio_push_linux-x86.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +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/demo_x86/4coder-$fv-demo-linux-x86.zip 4coder/4coder:linux-x86-demo +butler push $flags $dir/super_x86/4coder-$fv-super-linux-x86.zip 4coder/4coder:linux-x86 + +fi diff --git a/bin/itchio_push_linux.sh b/bin/itchio_push_linux.sh index 8c612a2c..8a829168 100644 --- a/bin/itchio_push_linux.sh +++ b/bin/itchio_push_linux.sh @@ -17,8 +17,6 @@ flags="--fix-permissions --userversion=$vr" dir=../current_dist_all_os butler push $flags $dir/demo_x64/4coder-$fv-demo-linux-x64.zip 4coder/4coder:linux-x64-demo -butler push $flags $dir/demo_x64/4coder-$fv-demo-linux-x86.zip 4coder/4coder:linux-x86-demo butler push $flags $dir/super_x64/4coder-$fv-super-linux-x64.zip 4coder/4coder:linux-x64 -butler push $flags $dir/super_x64/4coder-$fv-super-linux-x86.zip 4coder/4coder:linux-x86 fi