diff options
author | Christopher Baines <christopher.baines@digital.cabinet-office.gov.uk> | 2017-04-24 06:36:04 +0100 |
---|---|---|
committer | Christopher Baines <christopher.baines@digital.cabinet-office.gov.uk> | 2019-05-20 10:21:58 +0100 |
commit | fd52b49bc6b30165d20758f8780ec777ba9fe57d (patch) | |
tree | e9b9f226fb114ca1a3f8e57bc75ae65fc2e06560 | |
parent | 189dbb0c0a131d390f1ba0bbebf55b2a262a56ae (diff) | |
download | gnu-guix-fd52b49bc6b30165d20758f8780ec777ba9fe57d.tar gnu-guix-fd52b49bc6b30165d20758f8780ec777ba9fe57d.tar.gz |
Alter the GitHub updater to allow release_ tags
As this is what's commonly used on GOV.UK.
-rw-r--r-- | guix/import/github.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/import/github.scm b/guix/import/github.scm index cdac70420a..c8d3b744a9 100644 --- a/guix/import/github.scm +++ b/guix/import/github.scm @@ -189,6 +189,9 @@ the package e.g. 'bedtools2'. Return #f if there is no releases" ;; where some are just the version number ((string-prefix? "v" tag) (substring tag 1)) + ;; Support release_n tags + ((string-prefix? "release_" tag) + tag) ;; Finally, reject tags that don't start with a digit: ;; they may not represent a release. ((and (not (string-null? tag)) |