diff options
Diffstat (limited to 'scripts/version')
-rwxr-xr-x | scripts/version | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/version b/scripts/version new file mode 100755 index 00000000..75cb06da --- /dev/null +++ b/scripts/version @@ -0,0 +1,5 @@ +#!/bin/sh + +cat ledger.cc | \ + grep "^const std::string version" | \ + sed 's/const std::string version = "\([0-9.A-Za-z]*\)";/\1/' |