htgoebel pushed a commit to branch wip-import-version
in repository guix.
commit 7035eb7a41bdce953afe8d70d3d7a74b67d177fc
Author: Hartmut Goebel <[email protected]>
AuthorDate: Wed Jun 29 12:54:38 2022 +0200
import: github: Fix updater.
* guix/import/github.scm(updated-url): For one one of the
cases add missing 'prefix' and set new version.
---
guix/import/github.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/guix/import/github.scm b/guix/import/github.scm
index 51118d1d39..e1a1af7133 100644
--- a/guix/import/github.scm
+++ b/guix/import/github.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2019 Arun Isaac <[email protected]>
;;; Copyright © 2019 Efraim Flashner <[email protected]>
;;; Copyright © 2022 Maxime Devos <[email protected]>
+;;; Copyright © 2022 Hartmut Goebel <[email protected]>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -95,8 +96,8 @@ false if none is recognized"
((string-suffix? (string-append "/releases/download/" repo "-"
version "/" repo "-" version ext)
url)
- (string-append "/releases/download/" repo "-" version "/" repo "-"
- version ext))
+ (string-append prefix "/releases/download/" repo "-" new-version
"/"
+ repo "-" new-version ext))
(#t #f))) ; Some URLs are not recognised.
#f))