1
0
mirror of synced 2026-01-17 00:52:40 +00:00
Interlisp.medley/scripts/release-one.sh
2021-04-05 21:55:22 -07:00

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