From 62422f3a54d157fb3280ee51a62b7cfe5b759acb Mon Sep 17 00:00:00 2001 From: Josh Suereth Date: Tue, 20 Mar 2012 08:57:44 -0400 Subject: Yet another attempt to make the version a good one This fixes the git commit drift issue and gives us enough granularity to make releases at any time that are cronologically increasing. --- tools/get-scala-commit-date | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/get-scala-commit-date') diff --git a/tools/get-scala-commit-date b/tools/get-scala-commit-date index ef5b0f540d..b2e4e10770 100755 --- a/tools/get-scala-commit-date +++ b/tools/get-scala-commit-date @@ -11,6 +11,7 @@ [[ $# -eq 0 ]] || cd "$1" lastcommitdate=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 1) +lastcommithours=$(git log --format="%ci" HEAD | head -n 1 | cut -d ' ' -f 2) # 20120324 -echo "${lastcommitdate//-/}" +echo "${lastcommitdate//-/}-${lastcommithours//:/}" -- cgit v1.2.3