diff options
author | Josh Suereth <joshua.suereth@gmail.com> | 2012-03-14 01:04:45 -0400 |
---|---|---|
committer | Josh Suereth <joshua.suereth@gmail.com> | 2012-03-16 12:05:37 -0400 |
commit | c3bff042546a343f260e2ef8be01665671db1043 (patch) | |
tree | e05185774a64eda84a0fe489c5cf05362444ebaf /tools/get-scala-revision.bat | |
parent | f553ebb2dd0284805d8e49d48969ebde48ae2e25 (diff) | |
download | scala-c3bff042546a343f260e2ef8be01665671db1043.tar.gz scala-c3bff042546a343f260e2ef8be01665671db1043.tar.bz2 scala-c3bff042546a343f260e2ef8be01665671db1043.zip |
Fixes to build numbering system for 2.9.x release
Conflicts:
build.number
build.xml
Diffstat (limited to 'tools/get-scala-revision.bat')
-rw-r--r-- | tools/get-scala-revision.bat | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/get-scala-revision.bat b/tools/get-scala-revision.bat index 48c7cbd94f..b5b30eb3a8 100644 --- a/tools/get-scala-revision.bat +++ b/tools/get-scala-revision.bat @@ -14,9 +14,14 @@ if "%*"=="" ( ) cd %_DIR% +rem TODO - Look up bat scripting example and fix the darn string. if exist .git\NUL ( git describe --abbrev=10 --always --tags ) +rem Implement something like the following +rem for /f "tokens=1,2,3 delims=- " %%a in ("%gitdescribe%") do set version=%%a&set commits=%%b&set sha=%%c +rem echo %date?%-%commits%-%sha% + :end @endlocal |