aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-07-20 20:35:20 +0200
committerLudovic Courtès <ludo@gnu.org>2020-07-20 23:25:09 +0200
commitcffaf285c19ea5f0465c7ad2196b7a478ef21873 (patch)
tree2d7a529fe63e9f524bb26d731017fc9ab6348da5
parentb3802495f607fd5e17c5acf0be2ee014036e2464 (diff)
downloadguix-cffaf285c19ea5f0465c7ad2196b7a478ef21873.tar.gz
guix-cffaf285c19ea5f0465c7ad2196b7a478ef21873.zip
gnu-maintenance: 'latest-html-release' honors #:file->signature.
* guix/gnu-maintenance.scm (latest-html-release): Call FILE->SIGNATURE instead of the in-line ".tar.sign" policy.
-rw-r--r--guix/gnu-maintenance.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 9fe229f680..a1273ab461 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -497,9 +497,8 @@ return the corresponding signature URL, or #f it signatures are unavailable."
(version version)
(urls (list (string-append base-url directory "/" url)))
(signature-urls
- (list (string-append base-url directory "/"
- (file-sans-extension url)
- ".sign")))))))
+ (list (file->signature
+ (string-append base-url directory "/" url))))))))
(define candidates
(filter-map url->release (html-links sxml)))