23 lines
377 B
Bash
Executable File
23 lines
377 B
Bash
Executable File
#!/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=../distributions
|
|
|
|
butler push $flags $dir/demo_x64/4coder-$fv-demo-mac-x64.zip 4coder/4coder:mac-x64-demo
|
|
butler push $flags $dir/super_x64/4coder-$fv-super-mac-x64.zip 4coder/4coder:mac-x64
|
|
|
|
fi
|