summaryrefslogtreecommitdiff
path: root/tools/get-scala-commit-drift
diff options
context:
space:
mode:
Diffstat (limited to 'tools/get-scala-commit-drift')
-rwxr-xr-xtools/get-scala-commit-drift17
1 files changed, 0 insertions, 17 deletions
diff --git a/tools/get-scala-commit-drift b/tools/get-scala-commit-drift
deleted file mode 100755
index 1395c92c3d..0000000000
--- a/tools/get-scala-commit-drift
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env bash
-#
-# Usage: get-scala-commit-drift [dir]
-# Figures out current commit drift of a git clone.
-# If no dir is given, current working dir is used.
-#
-# Example output string:
-# 123
-#
-# Build drift = # of commits since last tag.
-
-[[ $# -eq 0 ]] || cd "$1"
-
-# git describe is completely useles to us if we're on a tag, or haven't changed since then.
-# This at least gives us a total number of commits included in a release, which should grow steadily.
-counter=$(git shortlog | grep -E '^[ ]+\w+' | wc -l)
-printf "%08d" "$counter"