chiark / gitweb /
Merge branch 'pctb' into 'main' jarrg-1.1.0
authorIan Jackson <ywiivi@fyvzl.net>
Sun, 9 Apr 2023 09:41:03 +0000 (09:41 +0000)
committerIan Jackson <ywiivi@fyvzl.net>
Sun, 9 Apr 2023 09:41:03 +0000 (09:41 +0000)
Turn off PCTB upload by default and improve error output

See merge request yarrg/jarrg!4

build-sh

index 887f236df8b671f2893d1618acd2d8bf32e9aeec..9c57874100e11f669d03c3ba249645f0b4662daf 100755 (executable)
--- a/build-sh
+++ b/build-sh
@@ -39,6 +39,7 @@ Building tarballs
 
 tarball () {
        output=$1; shift
+       >"$output"; # avoids rsync seeing that . changed
        GZIP='-9v --rsyncable' tar --exclude=\*{~,.tar.gz,.exe} --exclude='#*#' \
          --transform='s/^./jarrg/' --exclude={src/build,tmp} "$@" \
          -zcf "$output" .
@@ -62,6 +63,11 @@ pubdir="${JARRG_PUBLISH_DIR-/home/yarrgweb/public-html/download/jarrg}"
 echo "
 Revision: $revision
 
-Install with:
- RSYNC_RSH=ssh rsync -vP $files $pubbase:$pubdir/test/
+Publish as test with:
+  RSYNC_RSH=ssh rsync -vP $files $pubbase:$pubdir/test/
+
+To actually publish a release, on $pubbase:
+  mkdir $revision
+  ln tests/* $revision/.
+  ln -f tests/* .
 "