diff options
author | Leah Neukirchen <leah@vuxu.org> | 2020-02-02 15:52:03 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2020-02-02 15:52:03 +0100 |
commit | 2636f5127d7f886d8eed7ea0386143b3bddb0424 (patch) | |
tree | b8716cb34b638632c6b30442f500b993d077c95c | |
parent | 92dd0f7be5b11d319fd319e1a1947505bb2e95fb (diff) | |
download | mblaze-2636f5127d7f886d8eed7ea0386143b3bddb0424.tar.gz mblaze-2636f5127d7f886d8eed7ea0386143b3bddb0424.tar.xz mblaze-2636f5127d7f886d8eed7ea0386143b3bddb0424.zip |
GNUmakefile: release: check ./VERSION is correct before release
-rw-r--r-- | GNUmakefile | 1 |
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: |