mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-11 15:39:36 -05:00
Fixed generating changelog in Windows MinGW build
This commit is contained in:
parent
f4f799ec58
commit
e0c3f27469
@ -18,6 +18,8 @@ copy nul %logfile% > nul
|
|||||||
|
|
||||||
pushd %~1
|
pushd %~1
|
||||||
|
|
||||||
|
set Percent=%%
|
||||||
|
|
||||||
set last=HEAD
|
set last=HEAD
|
||||||
for /f %%t in ('git tag --sort=-taggerdate --merged ^| findstr v') do (
|
for /f %%t in ('git tag --sort=-taggerdate --merged ^| findstr v') do (
|
||||||
echo generating changelog for !last!..%%t
|
echo generating changelog for !last!..%%t
|
||||||
@ -30,7 +32,7 @@ for /f %%t in ('git tag --sort=-taggerdate --merged ^| findstr v') do (
|
|||||||
rem echo !last! ---^> %%t >> %logfile%
|
rem echo !last! ---^> %%t >> %logfile%
|
||||||
echo ----------------------------------------------- >> %logfile%
|
echo ----------------------------------------------- >> %logfile%
|
||||||
echo. >> %logfile%
|
echo. >> %logfile%
|
||||||
git log %%t..!last! --no-merges "--pretty=format:%%h %%ai %%<(10,trunc)%%an %%s" >> %logfile%
|
git log %%t..!last! --no-merges "--pretty=format:!Percent!h !Percent!ai !Percent!<(10,trunc)!Percent!an !Percent!s" >> %logfile%
|
||||||
echo. >> %logfile%
|
echo. >> %logfile%
|
||||||
echo. >> %logfile%
|
echo. >> %logfile%
|
||||||
set last=%%t
|
set last=%%t
|
||||||
|
Loading…
Reference in New Issue
Block a user