Skip to content

Commit 1a64b95

Browse files
Copilotphlax
andcommitted
Format URL templates with repo and version in deps.bzl
Co-authored-by: phlax <[email protected]>
1 parent ecee98f commit 1a64b95

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deps.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def _non_module_dependencies_impl(ctx):
1111
bootstrap = VERSIONS["com_github_twbs_bootstrap"]
1212
http_archive(
1313
name = "com_github_twbs_bootstrap",
14-
urls = bootstrap["urls"],
14+
urls = [url.format(repo = bootstrap["repo"], version = bootstrap["version"]) for url in bootstrap["urls"]],
1515
sha256 = bootstrap["sha256"],
1616
strip_prefix = bootstrap["strip_prefix"].format(version = bootstrap["version"]),
1717
build_file = "@envoy-website//bazel:bootstrap.BUILD",
@@ -23,7 +23,7 @@ def _non_module_dependencies_impl(ctx):
2323
envoy = VERSIONS["envoy"]
2424
http_archive(
2525
name = "envoy",
26-
urls = envoy["urls"],
26+
urls = [url.format(repo = envoy["repo"], version = envoy["version"]) for url in envoy["urls"]],
2727
sha256 = envoy["sha256"],
2828
strip_prefix = envoy["strip_prefix"].format(version = envoy["version"]),
2929
)

0 commit comments

Comments
 (0)