From 5fb5471791635a59358641e70338de8f64c8d39a Mon Sep 17 00:00:00 2001 From: "publish-to-bcr-bot[bot]" <112732530+publish-to-bcr-bot[bot]@users.noreply.github.com> Date: Thu, 19 Oct 2023 16:35:15 -0500 Subject: [PATCH] Publish bazelbuild/rules_apple@3.1.1 (#1034) --- modules/rules_apple/3.1.1/MODULE.bazel | 31 +++++++++++++++++++ .../patches/module_dot_bazel_version.patch | 12 +++++++ modules/rules_apple/3.1.1/presubmit.yml | 6 ++++ modules/rules_apple/3.1.1/source.json | 9 ++++++ modules/rules_apple/metadata.json | 3 +- 5 files changed, 60 insertions(+), 1 deletion(-) create mode 100644 modules/rules_apple/3.1.1/MODULE.bazel create mode 100644 modules/rules_apple/3.1.1/patches/module_dot_bazel_version.patch create mode 100644 modules/rules_apple/3.1.1/presubmit.yml create mode 100644 modules/rules_apple/3.1.1/source.json diff --git a/modules/rules_apple/3.1.1/MODULE.bazel b/modules/rules_apple/3.1.1/MODULE.bazel new file mode 100644 index 00000000000..4e5260b999a --- /dev/null +++ b/modules/rules_apple/3.1.1/MODULE.bazel @@ -0,0 +1,31 @@ +module( + name = "rules_apple", + version = "3.1.1", + bazel_compatibility = [">=6.0.0"], + compatibility_level = 1, + repo_name = "build_bazel_rules_apple", +) + +bazel_dep(name = "apple_support", version = "1.11.1", repo_name = "build_bazel_apple_support") +bazel_dep(name = "bazel_skylib", version = "1.3.0") +bazel_dep(name = "platforms", version = "0.0.7") +bazel_dep(name = "rules_swift", version = "1.13.0", repo_name = "build_bazel_rules_swift") + +bazel_dep( + name = "stardoc", + version = "0.6.2", + dev_dependency = True, + repo_name = "io_bazel_stardoc", +) + +non_module_deps = use_extension("//apple:extensions.bzl", "non_module_deps") +use_repo( + non_module_deps, + "xctestrunner", +) + +provisioning_profile_repository = use_extension("//apple:apple.bzl", "provisioning_profile_repository_extension") +use_repo(provisioning_profile_repository, "local_provisioning_profiles") + +apple_cc_configure = use_extension("@build_bazel_apple_support//crosstool:setup.bzl", "apple_cc_configure_extension") +use_repo(apple_cc_configure, "local_config_apple_cc") diff --git a/modules/rules_apple/3.1.1/patches/module_dot_bazel_version.patch b/modules/rules_apple/3.1.1/patches/module_dot_bazel_version.patch new file mode 100644 index 00000000000..589bc96682d --- /dev/null +++ b/modules/rules_apple/3.1.1/patches/module_dot_bazel_version.patch @@ -0,0 +1,12 @@ +=================================================================== +--- a/MODULE.bazel ++++ b/MODULE.bazel +@@ -1,7 +1,7 @@ + module( + name = "rules_apple", +- version = "0", ++ version = "3.1.1", + bazel_compatibility = [">=6.0.0"], + compatibility_level = 1, + repo_name = "build_bazel_rules_apple", + ) diff --git a/modules/rules_apple/3.1.1/presubmit.yml b/modules/rules_apple/3.1.1/presubmit.yml new file mode 100644 index 00000000000..5365a14faca --- /dev/null +++ b/modules/rules_apple/3.1.1/presubmit.yml @@ -0,0 +1,6 @@ +tasks: + verify_targets: + name: Verify build targets + platform: macos + test_targets: + - '@rules_apple//examples/macos/CommandLine:ExamplesBuildTest' diff --git a/modules/rules_apple/3.1.1/source.json b/modules/rules_apple/3.1.1/source.json new file mode 100644 index 00000000000..46e3785ae4e --- /dev/null +++ b/modules/rules_apple/3.1.1/source.json @@ -0,0 +1,9 @@ +{ + "integrity": "sha256-NMQb+1nNrqKawt9aL6eeWt1gnHG7MDsuuxCYX5P6IOc=", + "strip_prefix": "", + "url": "https://github.com/bazelbuild/rules_apple/releases/download/3.1.1/rules_apple.3.1.1.tar.gz", + "patches": { + "module_dot_bazel_version.patch": "sha256-KVsXlg8A0DKwRqg2JhtnBnv2NS2imHagLkDBQruoIGg=" + }, + "patch_strip": 1 +} diff --git a/modules/rules_apple/metadata.json b/modules/rules_apple/metadata.json index 98c9189d5ff..e23bda92cc4 100644 --- a/modules/rules_apple/metadata.json +++ b/modules/rules_apple/metadata.json @@ -37,7 +37,8 @@ "3.0.0-rc1", "3.0.0-rc2", "3.0.0", - "3.1.0" + "3.1.0", + "3.1.1" ], "yanked_versions": {} }