Second try release scripts
This commit is contained in:
committed by
Larry Masinter
parent
7d8efbdfd6
commit
945ffe56f8
21
scripts/release-one.sh
Executable file
21
scripts/release-one.sh
Executable 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
28
scripts/start-release.sh
Executable 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
|
||||
Reference in New Issue
Block a user