guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/11: gnu-maintenance: ".sign" and ".asc" files no longer match 'releas


From: Ludovic Courtès
Subject: 01/11: gnu-maintenance: ".sign" and ".asc" files no longer match 'release-file?'.
Date: Sat, 10 Nov 2018 17:34:01 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit bc1ff4aabafc8e1dbc8196d0eaef911806c74099
Author: Ludovic Courtès <address@hidden>
Date:   Sat Nov 10 16:03:48 2018 +0100

    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".
---
 guix/gnu-maintenance.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/gnu-maintenance.scm b/guix/gnu-maintenance.scm
index 3634f4b..21cb353 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'.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]