summaryrefslogtreecommitdiff
path: root/scripts/version
blob: 75cb06dad27cc497081f17ae55fe8c51ec3413c1 (plain)
1
2
3
4
5
#!/bin/sh

cat ledger.cc | \
    grep "^const std::string version" | \
    sed 's/const std::string version = "\([0-9.A-Za-z]*\)";/\1/'