Skip to content

Commit

Permalink
Update to rules_license 0.0.4 (bazelbuild#667)
Browse files Browse the repository at this point in the history
- Update to a newer rules_license
- update ci to prove that we can work with --incompatible_use_platforms_repo_for_constraints
- do not test with no_host_transition yet
  • Loading branch information
aiuto authored Feb 9, 2023
1 parent f98a821 commit 694e3ad
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions .bazelci/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ lts: &lts

rolling: &rolling
bazel: rolling
build_flags:
- "--incompatible_use_platforms_repo_for_constraints"
# Do this after stardoc is updated
# - "--incompatible_disable_starlark_host_transitions"

#
# Groups of tests, by platform
Expand Down
4 changes: 2 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
module(
name = "rules_pkg",
version = "0.8.1", # Must sync with version.bzl.
version = "0.8.2", # Must sync with version.bzl.
repo_name = "rules_pkg",
)

# Do not update to newer versions until you need a specific new feature.
bazel_dep(name = "rules_license", version = "0.0.3")
bazel_dep(name = "rules_license", version = "0.0.4")
bazel_dep(name = "bazel_skylib", version = "1.2.0")
bazel_dep(name = "rules_python", version = "0.10.2")

Expand Down
7 changes: 4 additions & 3 deletions pkg/deps.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ def rules_pkg_dependencies():
http_archive,
name = "rules_license",
urls = [
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.1/rules_license-0.0.1.tar.gz",
],
sha256 = "4865059254da674e3d18ab242e21c17f7e3e8c6b1f1421fffa4c5070f82e98b5",
"https://mirror.bazel.build/github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz",
"https://github.com/bazelbuild/rules_license/releases/download/0.0.4/rules_license-0.0.4.tar.gz",
],
sha256 = "6157e1e68378532d0241ecd15d3c45f6e5cfd98fc10846045509fb2a7cc9e381",
)


Expand Down
2 changes: 1 addition & 1 deletion version.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
# limitations under the License.
"""The version of rules_pkg."""

version = "0.8.1"
version = "0.8.2"

0 comments on commit 694e3ad

Please sign in to comment.