Skip to content

Commit

Permalink
Update github archive URLs to have stable SHAs
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Feb 11, 2022
1 parent 7f3b501 commit ee3fa88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/workspace_snippet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ http_archive(
name = "aspect_rules_swc",
sha256 = "${SHA}",
strip_prefix = "${PREFIX}",
url = "https://github.com/aspect-build/rules_swc/archive/${TAG}.tar.gz",
url = "https://github.com/aspect-build/rules_swc/archive/refs/tags/${TAG}.tar.gz",
)
# Fetches the rules_swc dependencies.
Expand Down
2 changes: 1 addition & 1 deletion internal_deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def rules_swc_internal_deps():
strip_prefix = "bazel-skylib-1.1.1",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/bazel-skylib/archive/1.1.1.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/archive/1.1.1.tar.gz",
"https://github.com/bazelbuild/bazel-skylib/archive/refs/tags/1.1.1.tar.gz",
],
)

Expand Down
4 changes: 2 additions & 2 deletions swc/dependencies.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ def rules_swc_dependencies():
name = "aspect_bazel_lib",
sha256 = "e834c368f36cb336b5b42cd1dd9cd4b6bafa0ad3ed7f92f54a47e5ab436e4f59",
strip_prefix = "bazel-lib-0.3.0",
url = "https://github.com/aspect-build/bazel-lib/archive/v0.3.0.tar.gz",
url = "https://github.com/aspect-build/bazel-lib/archive/refs/tags/v0.3.0.tar.gz",
)

maybe(
http_archive,
name = "aspect_rules_js",
sha256 = "dd78b4911b7c2e6c6e919b85cd31572cc15e5baa62b9e7354d8a1065c67136e3",
strip_prefix = "rules_js-0.3.1",
url = "https://github.com/aspect-build/rules_js/archive/v0.3.1.tar.gz",
url = "https://github.com/aspect-build/rules_js/archive/refs/tags/v0.3.1.tar.gz",
)

0 comments on commit ee3fa88

Please sign in to comment.