8000 fix: Use GitHub download URL for BCR URL instead of archive URL. (#1093) · ahans/rules_python@5419e23 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5419e23

Browse files
authored
fix: Use GitHub download URL for BCR URL instead of archive URL. (bazel-contrib#1093)
This is to prevent the issue where the checksum of the auto-generated archive files may change due to GitHub internal changes. Fixes bazel-contrib#1072
1 parent b986547 commit 5419e23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.bcr/source.template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"integrity": "",
33
"strip_prefix": "{REPO}-{VERSION}",
4-
"url": "https://github.com/{OWNER}/{REPO}/archive/refs/tags/{TAG}.tar.gz"
4+
"url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/rules_python-{TAG}.tar.gz"
55
}

0 commit comments

Comments
 (0)
0