From e75f15bb7ca8016bb816e3c345e213b8a3d57e47 Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Mon, 8 Jan 2024 16:14:57 +0000 Subject: [PATCH 1/2] Update template URL to a stable URL BCR appears to enforce this now --- templates/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/README.md b/templates/README.md index d91d5c1..a99dae4 100644 --- a/templates/README.md +++ b/templates/README.md @@ -77,7 +77,7 @@ The `integrity` hash will automatically be filled out by the app. { "integrity": "", // <-- Leave this alone "strip_prefix": "{REPO}-{VERSION}", - "url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz" + "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{TAG}.tar.gz" } ``` From 784693b95e5a45fe94e8fb55a465908eea4c4559 Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Tue, 9 Jan 2024 18:44:08 +0000 Subject: [PATCH 2/2] Edit template too --- templates/.bcr/source.template.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/.bcr/source.template.json b/templates/.bcr/source.template.json index 4f14819..2037471 100644 --- a/templates/.bcr/source.template.json +++ b/templates/.bcr/source.template.json @@ -1,5 +1,5 @@ { "integrity": "", "strip_prefix": "{REPO}-{VERSION}", - "url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz" + "url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{TAG}.tar.gz" }