Take the program version from the git tag - pee - Pee a password manager;Pee - … | |
git clone git://vernunftzentrum.de/pee.git | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
commit 8492d640979639d4ba7be4562b37bf840b110de2 | |
parent cd211e64503516de2933cd4f4209fcd3a207589a | |
Author: Christian Kellermann <[email protected]> | |
Date: Tue, 19 Apr 2016 16:32:27 +0200 | |
Take the program version from the git tag | |
Diffstat: | |
compile.sh | 4 +++- | |
program-meta.scm | 2 +- | |
2 files changed, 4 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/compile.sh b/compile.sh | |
@@ -4,6 +4,8 @@ set -e | |
echo -n '(define-constant commit-id "'\ | |
$(git show -q | grep ^commit| awk '{print $2 }') '")' > hash | |
+echo -n '(define-constant program-version "' $(git tag | sort -nr | head -1) '… | |
+ | |
chicken-install -r blob-utils >/dev/null || echo Fetching blob-utils has faile… | |
chicken-install -r check-errors >/dev/null || echo Fetching check-errors has f… | |
chicken-install -r foreigners >/dev/null || echo Fetching foreigners has faile… | |
@@ -30,6 +32,6 @@ csc -static *o ./tweetnacl/tweetnacl.impl.o -o pee | |
strip ./pee | |
-rm -r matchable blob-utils check-errors foreigners getopt-long string-utils st… | |
+rm -r matchable blob-utils check-errors foreigners getopt-long string-utils st… | |
rm *.o *.import.* | |
diff --git a/program-meta.scm b/program-meta.scm | |
@@ -1,4 +1,4 @@ | |
(define-constant program-name-string "pee") | |
-(define-constant program-version "0.3") | |
(define-constant program-description "A password manager for the command line.… | |
(include "hash") | |
+(include "tag") |