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

25 lines
457 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-$tag-$osarch.tgz \
--exclude "make*" --exclude legacy \
maiko/bin \
maiko/$osarch/lde*
cd medley
gh release upload --clobber $tag tmp/maiko-$tag-$osarch.tgz