4coder/bin/itchio_push_linux-x86.sh

23 lines
385 B
Bash
Raw Normal View History

2020-03-02 01:47:58 +00:00
#!/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"
2020-03-10 22:03:41 +00:00
dir=../distributions
2020-03-02 01:47:58 +00:00
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