Try to defend against releasing binaries with a hash suffix version

(I have only attempted write the check to stop the build if it's
wrong, not tested it.)
This commit is contained in:
Christophe Rhodes 2026-06-27 20:34:57 +01:00
parent a248b46823
commit cbdaa062e9

View file

@ -164,6 +164,8 @@ fi
if [ ! \( -f $SBCL_RELEASE_DIR/sbcl-$VERSION-source.tar -o -f $SBCL_RELEASE_DIR/sbcl-$VERSION-source.tar.bz2 \) ]; then
cd $SBCL_DIR
$SBCL_DIR/generate-version.sh
## verify that the generated version is what we expect (has no appended hash)
grep -v '^;' version.lisp-expr | grep \"$VERSION\"
mkdir -p CVS
sh ./distclean.sh
rm -rf .git