Skip to content

Commit

Permalink
Approach to generate branch name for version string now identical to …
Browse files Browse the repository at this point in the history
…linux/macos_x approach
  • Loading branch information
hogthrob committed Aug 25, 2014
1 parent abf5ca2 commit 6835582
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/generate-version.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@for /f "delims=" %%a in ('git symbolic-ref HEAD') do @set myvar=%%a
@for /f "delims=" %%b in ('git log "--pretty=format:%%h" -1') do @set myvar2=%%b
@REM the 11 is derived from generate-version.sh "cut -b 12" by subtracting 1
@echo %myvar:~11%-%myvar2%
@copy /b version.cpp+,, >NUL:

0 comments on commit 6835582

Please sign in to comment.