From: Alexandre Oliva Date: Mon, 7 Dec 2020 05:58:43 +0000 (-0500) Subject: precheck version numbers X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=ec96a271c97896e74b50129faae5129926b21d12;p=releases.git precheck version numbers --- diff --git a/mkgitrel b/mkgitrel index c6ff9ec6b44..0ce544b932a 100755 --- a/mkgitrel +++ b/mkgitrel @@ -1,5 +1,22 @@ #! /bin/bash +success=: +for rel +do + case $rel in + v*) + echo $rel starts with v, that is unexpected >&2 + success=false + ;; + *.*-gnu) + ;; + *) + echo $rel does not end with -gnu, that is unexpected >&2 + success=false + ;; + esac +done && $success && + $0.cln "$@" && echo all revs cleaned up, awaiting manual check results... &&