aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build-aux/build-home-page.el20
1 files changed, 9 insertions, 11 deletions
diff --git a/build-aux/build-home-page.el b/build-aux/build-home-page.el
index e005756..0f5ef9d 100644
--- a/build-aux/build-home-page.el
+++ b/build-aux/build-home-page.el
@@ -1,5 +1,5 @@
;;; kolam --- GraphQL implementation
-;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
+;;; Copyright © 2022, 2024 Arun Isaac <arunisaac@systemreboot.net>
;;;
;;; This file is part of kolam.
;;;
@@ -37,16 +37,14 @@
(defun org-dblock-write:releases (params)
"Dynamically write releases block."
- (call-process "git" nil t nil
- "for-each-ref" "--sort=-taggerdate"
- (let ((release-file "./releases/kolam-%(refname:short).tar.lz"))
- (format "--format=- %%(taggerdate:short) [[%s][%s]] [[%s.asc][GPG Signature]]"
- release-file
- (file-name-nondirectory release-file)
- release-file))
- "refs/tags/v*")
- ;; Fix tarball filenames.
- (replace-string "kolam-v" "kolam-" nil nil nil t))
+ (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")