Fix changelog generation

'\n' wasn't getting interpretted as a new line.
This commit is contained in:
Jason White
2018-02-07 00:56:16 -08:00
parent 167f85efcd
commit 5d911e2225
+1 -1
View File
@@ -42,7 +42,7 @@ function readme {
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)")
echo "Change log\n==========\n\nStable versions\n~~~~~~~~~~~~~~~\n\nVersion $version $today\n-----------------------------------\n\n$gitlog\n$changelog" > doc/changes.rst
echo -e "Change log\n==========\n\nStable versions\n~~~~~~~~~~~~~~~\n\nVersion $version $today\n-----------------------------------\n\n$gitlog\n$changelog" > doc/changes.rst
}
function doc {