diff options
Diffstat (limited to 'tools/get-scala-commit-date')
-rwxr-xr-x | tools/get-scala-commit-date | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/get-scala-commit-date b/tools/get-scala-commit-date deleted file mode 100755 index b2e4e10770..0000000000 --- a/tools/get-scala-commit-date +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -# -# Usage: get-scala-commit-date [dir] -# Figures out current commit date of a git clone. -# If no dir is given, current working dir is used. -# -# Example build version string: -# 20120312 -# - -[[ $# -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//-/}-${lastcommithours//:/}" |