aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-11-10 16:03:48 +0100
committerLudovic Courtès <ludo@gnu.org>2018-11-10 23:33:46 +0100
commitbc1ff4aabafc8e1dbc8196d0eaef911806c74099 (patch)
tree38f4996a09edd9efee6f32e235815461c37cd14f
parent37ebc19cfbfdb248e8d36cbb587a89780e2e93c1 (diff)
downloadpatches-bc1ff4aabafc8e1dbc8196d0eaef911806c74099.tar
patches-bc1ff4aabafc8e1dbc8196d0eaef911806c74099.tar.gz
gnu-maintenance: ".sign" and ".asc" files no longer match 'release-file?'.
* guix/gnu-maintenance.scm (release-file?): Exclude ".sign" and ".asc" file in addition to ".sig".
-rw-r--r--guix/gnu-maintenance.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 3634f4bb27..21cb353f50 100644
--- a/guix/gnu-maintenance.scm
+++ b/guix/gnu-maintenance.scm
@@ -247,7 +247,7 @@ network to check in GNU's database."
(define (release-file? project file)
"Return #f if FILE is not a release tarball of PROJECT, otherwise return
true."
- (and (not (string-suffix? ".sig" file))
+ (and (not (member (file-extension file) '("sig" "sign" "asc")))
(and=> (regexp-exec %tarball-rx file)
(lambda (match)
;; Filter out unrelated files, like `guile-www-1.1.1'.