about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--GNUmakefile1
1 files changed, 1 insertions, 0 deletions
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: