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>2020-03-31 21:41:49 +0100
commit0ab7c4bc4c61e44946dbe94d39b44ed56bdbb685 (patch)
tree5652ef07825b6137b8defad24555d3ae6e2170cb
parent9add8dffaa55ac4f75a5f5deb1d65d844f21e396 (diff)
downloadgnu-guix-0ab7c4bc4c61e44946dbe94d39b44ed56bdbb685.tar
gnu-guix-0ab7c4bc4c61e44946dbe94d39b44ed56bdbb685.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 7136e7a34f..8ba5b5192d 100644
--- a/guix/import/github.scm
+++ b/guix/import/github.scm
@@ -193,6 +193,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))