aboutsummaryrefslogtreecommitdiff
path: root/build-aux
diff options
context:
space:
mode:
authorArun Isaac2024-01-26 13:49:13 +0000
committerArun Isaac2024-01-26 13:49:13 +0000
commit0137e632f5d3c1e8508a19fde9934e43b62dd6cb (patch)
tree85ba38958852952b20a5e646a65c09d6d9524768 /build-aux
parentde24cb8d5e3e1dbcabb7af764d7a84644b9f572d (diff)
downloadguile-email-0137e632f5d3c1e8508a19fde9934e43b62dd6cb.tar.gz
guile-email-0137e632f5d3c1e8508a19fde9934e43b62dd6cb.tar.lz
guile-email-0137e632f5d3c1e8508a19fde9934e43b62dd6cb.zip
README: Hard-code releases.
* README.org (Download): Replace releases dynamic block with hard-coded list of releases. * build-aux/build-website.el (org-dblock-write:releases): Delete function. (main): Do not call org-update-all-dblocks.
Diffstat (limited to 'build-aux')
-rw-r--r--build-aux/build-website.el17
1 files changed, 0 insertions, 17 deletions
diff --git a/build-aux/build-website.el b/build-aux/build-website.el
index 8808f42..3456cd4 100644
--- a/build-aux/build-website.el
+++ b/build-aux/build-website.el
@@ -28,22 +28,5 @@
org-html-head-include-scripts nil
org-html-postamble nil)
-(defun org-dblock-write:releases (params)
- "Dynamically write releases block."
- ;; We don't list v0.1.0 since we don't have the release tarball.
- (dolist (release '(("2023-09-04" "v0.3.1")
- ("2023-01-06" "v0.3.0")
- ("2019-12-22" "v0.2.2")
- ("2019-09-23" "v0.2.1")
- ("2019-08-09" "v0.2.0")))
- (pcase release
- (`(,date ,version)
- (insert (format "- %s [[./releases/guile-email-%s.tar.lz][guile-email-%s.tar.lz]] [[./releases/guile-email-%s.tar.lz.asc][GPG Signature]]\n"
- date
- version
- version
- version))))))
-
(with-current-buffer (find-file "README.org")
- (org-update-all-dblocks)
(org-export-to-file 'html "website/index.html"))