22 lines
399 B
Bash
Executable File
22 lines
399 B
Bash
Executable File
#!/bin/sh
|
|
export MEDLEYDIR=`pwd`
|
|
|
|
if [ ! -x run-medley ] ; then
|
|
echo "run from MEDLEYDIR (with MAIKODIR ../maiko)"
|
|
exit 1
|
|
fi
|
|
|
|
tag=$1
|
|
|
|
cd ../maiko/bin
|
|
export PATH=.:"$PATH"
|
|
osarch=`osversion`.`machinetype`
|
|
cd ../..
|
|
tar cfz medley/tmp/maiko-$osarch.tgz \
|
|
--exclude "make*" maiko/bin \
|
|
maiko/$osarch/lde*
|
|
|
|
cd medley
|
|
|
|
gh release upload $tag tmp/maiko-$osarch.tgz
|