1
0
mirror of synced 2026-01-25 12:05:41 +00:00

Default tag to nightly

This commit is contained in:
Larry Masinter
2021-03-30 12:38:17 -07:00
committed by Larry Masinter
parent ad912885aa
commit 26e4af726a
2 changed files with 11 additions and 1 deletions

View File

@@ -7,6 +7,9 @@ if [ ! -x run-medley ] ; then
fi
tag=$1
if [ -z "$tag" ] ; then
tag=nitely-`date +%y%m%d`
fi
cd ../maiko/bin
export PATH=.:"$PATH"
@@ -14,6 +17,8 @@ osarch=`osversion`.`machinetype`
cd ../..
echo making maiko-$tag-$osarch.tgz
tar cfz medley/tmp/maiko-$tag-$osarch.tgz \
--exclude "make*" --exclude legacy \
maiko/bin \
@@ -21,4 +26,6 @@ tar cfz medley/tmp/maiko-$tag-$osarch.tgz \
cd medley
echo uploading
gh release upload --clobber $tag tmp/maiko-$tag-$osarch.tgz

View File

@@ -7,6 +7,10 @@ fi
tag=$1
if [ -z "$tag" ] ; then
tag=nitely-`date +%y%m%d`
fi
cd ..
echo making medley zip
@@ -32,7 +36,6 @@ sed s/'$tag'/$tag/g < release-notes.md > tmp/release-notes.md
gh release create $tag -F tmp/release-notes.md -p -t $tag
echo uploaded tmp/medley-$tag.tgz
gh release upload $tag tmp/medley-$tag.tgz --clobber
./scripts/release-one.sh $tag