Skip to content

Commit

Permalink
Generate changelog.html from changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
chris2511 committed Sep 24, 2023
1 parent cc9245b commit 472d9e7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions release/git.publish
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ export TVERSION

releasedir="$HOME/xca-$TVERSION"

sed 's/&/\&/g;
s/</\&lt;/g;
s/>/\&gt;/g;
s#^xca \([^ ]*\) *\(.*\)#</ul></div><div id="changelog_\1"><h3>xca \1 \2</h3><ul>#;
s#\*\(.*\)#</li><li>\1#' changelog > changelog.html

./release/gen-binary-hash "$releasedir"
git commit -a -m "Release XCA $TVERSION done"

Expand All @@ -21,5 +27,6 @@ After verifying the commits, tags and github release,
finally do:
git push origin --tags main
scp -r ${releasedir}/doc/html hohnstaedt.de:xca-doc/
scp -r changelog.html hohnstaedt.de:xca-doc/
Un-draft the release on github
EOF

0 comments on commit 472d9e7

Please sign in to comment.