summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <christopher.baines@digital.cabinet-office.gov.uk>2017-04-24 06:36:04 +0100
committerChristopher Baines <christopher.baines@digital.cabinet-office.gov.uk>2019-10-22 23:14:03 +0100
commit942e6a6062cd2b902237282f3199ab07404358be (patch)
treec759a6acd078083c994d4cc31a0a72bbd2d74cde
parent6f11ea72456eee3b59cac5f601e937d820a2c191 (diff)
downloadgnu-guix-942e6a6062cd2b902237282f3199ab07404358be.tar
gnu-guix-942e6a6062cd2b902237282f3199ab07404358be.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.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/guix/import/github.scm b/guix/import/github.scm
index df5f6ff32f..ee1c1b9236 100644
--- a/guix/import/github.scm
+++ b/guix/import/github.scm
@@ -195,6 +195,9 @@ the package e.g. 'bedtools2'. Return #f if there is no releases"
(substring tag 8)))
((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))