aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2024-01-26 13:52:18 +0000
committerArun Isaac2024-01-26 13:52:18 +0000
commit608735a4bd0811fe2a76365409238c2aad5958a9 (patch)
treed6229f61ec899759ffb36b50d6393df8c66ad638
parent3f242d02b8ddc64c2c669d50363bb4e6e40cb79e (diff)
downloadkolam-608735a4bd0811fe2a76365409238c2aad5958a9.tar.gz
kolam-608735a4bd0811fe2a76365409238c2aad5958a9.tar.lz
kolam-608735a4bd0811fe2a76365409238c2aad5958a9.zip
README: Hard-code releases.HEADmain
* README.org (Download): Replace releases dynamic block with hard-coded list of releases. * build-aux/build-website.el (org-dblock-write:releases): Delete function. (build-website): Do not call org-update-all-dblocks.
-rw-r--r--README.org3
-rw-r--r--build-aux/build-home-page.el12
2 files changed, 1 insertions, 14 deletions
diff --git a/README.org b/README.org
index ec99fbc..df5120e 100644
--- a/README.org
+++ b/README.org
@@ -12,8 +12,7 @@ HTTP handler to implement a HTTP GraphQL endpoint.
Download release tarballs.
-#+BEGIN: releases
-#+END:
+- 2022-01-05 [[./releases/kolam-0.1.0.tar.lz][kolam-0.1.0.tar.lz]] [[./releases/kolam-0.1.0.tar.lz.asc][GPG Signature]]
Download [[https://systemreboot.net/about/arunisaac.pub][public signing key]].
diff --git a/build-aux/build-home-page.el b/build-aux/build-home-page.el
index 0f5ef9d..aa4f483 100644
--- a/build-aux/build-home-page.el
+++ b/build-aux/build-home-page.el
@@ -35,18 +35,6 @@
org-html-head-include-scripts nil
org-html-postamble nil)
-(defun org-dblock-write:releases (params)
- "Dynamically write releases block."
- (dolist (release '(("2022-01-05" "v0.1.0")))
- (pcase release
- (`(,date ,version)
- (insert (format "- %s [[./releases/kolam-%s.tar.lz][kolam-%s.tar.lz]] [[./releases/kolam-%s.tar.lz.asc][GPG Signature]]\n"
- date
- version
- version
- version))))))
-
(defun build-website ()
(with-current-buffer (find-file "README.org")
- (org-update-all-dblocks)
(org-export-to-file 'html "website/index.html")))