25 lines
574 B
Bash
25 lines
574 B
Bash
|
#!/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_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
|