1
0
mirror of synced 2026-01-25 20:06:44 +00:00

Second try release scripts

This commit is contained in:
Larry Masinter
2021-03-19 12:15:39 -07:00
committed by Larry Masinter
parent 7d8efbdfd6
commit 945ffe56f8
4 changed files with 77 additions and 0 deletions

21
scripts/release-one.sh Executable file
View File

@@ -0,0 +1,21 @@
#!/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

28
scripts/start-release.sh Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/sh
export MEDLEYDIR=`pwd`
if [ ! -x run-medley ] ; then
echo run from MEDLEYDIR
exit 1
fi
tag=$1
cd ..
tar cfz medley/tmp/medley-$tag.tgz \
--exclude-backups --exclude="*.PDF" \
medley/docs/dinfo \
medley/greetfiles/SIMPLE-INIT \
medley/run-medley \
medley/loadups \
medley/fonts/displayfonts medley/fonts/altofonts \
medley/library/ \
medley/internal/library \
medley/lispusers/ \
medley/sources/
cd medley
gh release create $tag -F release-notes.md -p -t $tag
gh release upload $tag tmp/medley-$tag.tgz --clobber
./scripts/release-one.sh $tag