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-05-30 18:18:19 +0100
commitd49cb415ea7cc419eedad30db02540a8af989ba2 (patch)
tree5b540f18936f5d5e817e1dea76ea6b9c273a5c0e
parentb318b776492193943248c8559872b6c0573123f2 (diff)
downloadgnu-guix-d49cb415ea7cc419eedad30db02540a8af989ba2.tar
gnu-guix-d49cb415ea7cc419eedad30db02540a8af989ba2.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 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))