Updated changelog script.
h3rald h3rald@h3rald.com
Mon, 09 Dec 2024 16:04:39 +0100
5 files changed,
19 insertions(+),
25 deletions(-)
D
CHANGELOG.html
@@ -1,13 +0,0 @@
-<article> - <h2>Changelog</h2> - - <section> - <h3>v0.1.0 - TBD</h3> - - <p>Initial release.</p> - <ul> - <li>...</li> - </ul> -</section> - -</article>
A
CHANGELOG.md
@@ -0,0 +1,10 @@
+<article> + <h2>Changelog</h2> + <h3>v0.1.0 - TBD</h3> + +<p>Initial release.</p> +<ul> + <li>...</li> +</ul> + +</article>
M
releases/0.1.0.html
→
releases/0.1.0.html
@@ -1,8 +1,6 @@
-<section> - <h3>v0.1.0 - TBD</h3> +<h3>v0.1.0 - TBD</h3> - <p>Initial release.</p> - <ul> - <li>...</li> - </ul> -</section> +<p>Initial release.</p> +<ul> + <li>...</li> +</ul>
M
scripts/web.hex
→
scripts/web.hex
@@ -47,16 +47,16 @@ ) "process-releases" :
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;;;;; Generate CHANGELOG.html -"*** Updating CHANGELOG.html..." puts +;;;;; Generate CHANGELOG +"*** Updating CHANGELOG.md..." puts process-releases . ; Read changelog template and add generated release content d-contents "/" "changelog.html" cat cat read "releases" releases-content process-tag . -; Write CHANGELOG.html -"CHANGELOG.html" write +; Write CHANGELOG.md +"CHANGELOG.md" write "*** Done!" puts ;;;;; Write web site contents
M
web/contents/changelog.html
→
web/contents/changelog.html
@@ -1,5 +1,4 @@
<article> <h2>Changelog</h2> - {{releases}} </article>