summaryrefslogtreecommitdiff
path: root/tools/get-scala-revision
diff options
context:
space:
mode:
Diffstat (limited to 'tools/get-scala-revision')
-rwxr-xr-xtools/get-scala-revision4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/get-scala-revision b/tools/get-scala-revision
index 4d97ec58ad..14c84d0ad4 100755
--- a/tools/get-scala-revision
+++ b/tools/get-scala-revision
@@ -40,5 +40,5 @@ hash=$(echo $suffix | cut -d - -f 2)
# remove any alphabetic characters before the version number
tag=$(echo $tag | sed "s/\([a-z_A-Z]*\)\(.*\)/\2/")
-# 2.10.0-M1-0098-g6f1c486d0b-2012-02-01
-printf "%s-%04d-%s-%s\n" "$tag" "$counter" "$hash" $(date "+%Y-%m-%d")
+# 20120324-123-b0d78f7b9c
+printf "%s-%04d-%s\n" $(date "+%Y%m%d") "$counter" "$hash"