From af7e7cdd8f35b9c1b2a428ff8c6686e5b36a213a Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sun, 11 Jan 2015 13:50:54 +0100 Subject: Add pre-release info to --version output Bump version to 3.1.1-alpha.1 --- src/global.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/global.h') diff --git a/src/global.h b/src/global.h index 292c9cb0..454fc64e 100644 --- a/src/global.h +++ b/src/global.h @@ -123,6 +123,8 @@ public: out << "Ledger " << Ledger_VERSION_MAJOR << '.' << Ledger_VERSION_MINOR << '.' << Ledger_VERSION_PATCH; + if (Ledger_VERSION_PRERELEASE != 0) + out << Ledger_VERSION_PRERELEASE; if (Ledger_VERSION_DATE != 0) out << '-' << Ledger_VERSION_DATE; out << _(", the command-line accounting tool"); -- cgit v1.2.3