summaryrefslogtreecommitdiff
blob: b577dcbc8df314a4663703e7b69401b37b2feb99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
--- a/tools/get-scala-commit-date
+++ b/tools/get-scala-commit-date
@@ -10,8 +10,8 @@
 
 [[ $# -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)
+lastcommitdate="2016-03-04"
+lastcommithours="00:00:00"
 
 # 20120324
 echo "${lastcommitdate//-/}-${lastcommithours//:/}"
--- a/tools/get-scala-commit-sha
+++ b/tools/get-scala-commit-sha
@@ -12,7 +12,7 @@
 
 # printf %016s is not portable for 0-padding, has to be a digit.
 # so we're stuck disassembling it.
-hash=$(git log -1 --format="%H" HEAD)
+hash="1706a37eb84ec252aea77bccebad3e48448534ad"
 hash=${hash#g}
 hash=${hash:0:10}
 echo "$hash"