From 2636f5127d7f886d8eed7ea0386143b3bddb0424 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sun, 2 Feb 2020 15:52:03 +0100 Subject: [PATCH] GNUmakefile: release: check ./VERSION is correct before release --- GNUmakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/GNUmakefile b/GNUmakefile index 8ce7370..8ff9021 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -68,6 +68,7 @@ install: FRC all release: VERSION=$$(git describe --tags | sed 's/^v//;s/-[^.]*$$//') && \ + [ "$$VERSION" = "$$(cat VERSION)" ] && \ git archive --prefix=mblaze-$$VERSION/ -o mblaze-$$VERSION.tar.gz HEAD sign: