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

View file

@ -240,7 +240,7 @@ (define %tarball-rx
(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