From 441fc336437c2ed9ae2e44f6ebc5e9928e20897b Mon Sep 17 00:00:00 2001 From: "Alexander A. Klimov" Date: Tue, 2 Jun 2015 11:53:43 +0200 Subject: [PATCH] Include version information on `git archive' refs #9247 --- .gitattributes | 3 +++ application/VERSION | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 application/VERSION diff --git a/.gitattributes b/.gitattributes index a05c2f5cd..6ae8ee7af 100644 --- a/.gitattributes +++ b/.gitattributes @@ -6,3 +6,6 @@ Vagrantfile export-ignore # Normalize puppet manifests' line endings to LF on checkin and prevent conversion to CRLF when the files are checked out .puppet* eol=lf + +# Include version information on `git archive' +/application/VERSION export-subst diff --git a/application/VERSION b/application/VERSION new file mode 100644 index 000000000..47f3a662f --- /dev/null +++ b/application/VERSION @@ -0,0 +1,2 @@ +GitCommitID: $Format:%H%d$ +GitCommitDate: $Format:%ci$