mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 19:01:15 +00:00
Fix changelog today generation
This commit is contained in:
@@ -40,7 +40,7 @@ function readme {
|
||||
# creates a changelog based on the commits from the previous version until now
|
||||
changelog=$(tail -n +6 doc/changes.rst)
|
||||
gitlog=$(git log v$previousVersion.. --oneline --pretty=format:'* %s (%h)' | grep -v "Merge")
|
||||
today=$(date "+(%B %m, %Y)")
|
||||
today=$(date "+(%B %d, %Y)")
|
||||
echo -e "Change log\n==========\n\nStable versions\n~~~~~~~~~~~~~~~\n\nVersion $version $today\n-----------------------------------\n\n$gitlog\n$changelog" > doc/changes.rst
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user