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> | 2020-05-23 22:57:12 +0100 |
commit | de00a111ec1ecc33c5d9d82a0b8fb07b2ed2289d (patch) | |
tree | b971ec05f07eadc53d130306336875f699a13b42 | |
parent | 2bb9b1afa6e7b39fe0c786c5f3ba727ae67a14ac (diff) | |
download | gnu-guix-de00a111ec1ecc33c5d9d82a0b8fb07b2ed2289d.tar gnu-guix-de00a111ec1ecc33c5d9d82a0b8fb07b2ed2289d.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 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)) |