From 25617e383a41a0c393038a247d516d8b00fafbc9 Mon Sep 17 00:00:00 2001 From: Larry Masinter Date: Mon, 20 Sep 2021 15:04:07 -0700 Subject: [PATCH] Add to medley release a tar of loadups-only, for those who want that (#465) * Add to medley release a tar of loadups-only, for those who want that * separate pieces (loadups+runtime) with 'don't need runtime if cloned' --- release-notes.md | 28 ++++++++++++++++++++-------- scripts/release-medley.sh | 22 +++++++++++++++------- 2 files changed, 35 insertions(+), 15 deletions(-) diff --git a/release-notes.md b/release-notes.md index 739d1a7a..f65c6d69 100644 --- a/release-notes.md +++ b/release-notes.md @@ -5,18 +5,30 @@ Alternatively, you can pick up the medley release, and build your own maiko. Get the Maiko release [here](https://github.com/Interlisp/maiko/releases). +The medley release comes in two parts: +1. The "loadups" (download `$tag-loadups.tgz` below) +2. The "runtime" (download `$tag-runtime.tgz` below) + +You won't need the "runtime" if you clone medley; it's just a subset. + +To download both using 'gh' GitHub command line: +``` + gh release download -R Interlisp/medley -p "*" +``` + To use (from a shell/terminal window): -1. Unpack the medley tar file - ``` - tar -xvfz $tag.tgz - ``` - -2. Unpack the maiko file for your operating system and CPU type,e.g., - +1. Unpack the medley tar file(s) ``` + tar -xvfz $tag-loadups.tgz + tar -xvfz $tag-runtime.tgz +``` + +2. Unpack the maiko file for your operating system and CPU type, e.g., + + ``` tar -xvfz maiko-210823.linux.x86_64.tgz -``` + ``` 3. This should leave you with two directories, `medley` and `maiko`. Then you can diff --git a/scripts/release-medley.sh b/scripts/release-medley.sh index 84be68a6..518cb997 100755 --- a/scripts/release-medley.sh +++ b/scripts/release-medley.sh @@ -1,4 +1,5 @@ #!/bin/sh + export MEDLEYDIR=`pwd` if [ ! -x run-medley ] ; then echo run from MEDLEYDIR @@ -13,18 +14,24 @@ fi cd .. -echo making medley zip $tag +echo making $tag-loadups.tgz -tar cfz medley/tmp/$tag.tgz \ +tar cfz medley/tmp/$tag-loadups.tgz \ + medley/loadups/lisp.sysout \ + medley/loadups/full.sysout \ + medley/loadups/whereis.hash \ + medley/library/exports.all \ + medley/library/RDSYS medley/library/RDSYS.LCOM + +echo making $tag-runtime.tgz + +tar cfz medley/tmp/$tag-runtime.tgz \ --exclude "*~" --exclude "*#*" \ medley/docs/dinfo \ medley/docs/Documentation\ Tools \ medley/greetfiles/SIMPLE-INIT \ medley/run-medley \ medley/scripts \ - medley/loadups/lisp.sysout \ - medley/loadups/full.sysout \ - medley/loadups/whereis.hash \ medley/fonts/displayfonts medley/fonts/altofonts \ medley/fonts/postscriptfonts \ medley/library/ \ @@ -33,12 +40,13 @@ tar cfz medley/tmp/$tag.tgz \ medley/sources/ \ medley/internal/library \ + cd medley echo making release 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 $tag.tgz -gh release upload $tag tmp/$tag.tgz --clobber +echo uploading +gh release upload $tag tmp/$tag-loadups.tgz tmp/$tag-runtime.tgz --clobber