gnu-maintenance: Recognize "RC" as denoting a pre-release tarball.

* guix/gnu-maintenance.scm (%alpha-tarball-rx): Add "RC".
This commit is contained in:
Ludovic Courtès 2020-07-20 23:41:22 +02:00
parent b579b1c1d1
commit 07a0be8079
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ network to check in GNU's database."
(make-regexp "^([^.]+)-([0-9]|[^-])+(-(src|gnu[0-9]))?\\.(tar\\.|zip$)"))
(define %alpha-tarball-rx
(make-regexp "^.*-.*[0-9](-|~)?(alpha|beta|rc|cvs|svn|git)-?[0-9\\.]*\\.tar\\."))
(make-regexp "^.*-.*[0-9](-|~)?(alpha|beta|rc|RC|cvs|svn|git)-?[0-9\\.]*\\.tar\\."))
(define (release-file? project file)
"Return #f if FILE is not a release tarball of PROJECT, otherwise return