Skip to content

Commit

Permalink
stamp podspec again with version (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
hborawski authored Jun 4, 2024
1 parent e252f46 commit 8c7089e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# load("@rules_player//cocoapods:cocoapod.bzl", "pod_push")
# load("@rules_player//internal:stamp.bzl", "stamp")
load("//tools/ios:util.bzl", "assemble_pod")
load("@rules_player//internal:defs.bzl", "stamp")
load("@npm//:defs.bzl", "npm_link_all_packages")
load("@aspect_rules_js//js:defs.bzl", "js_library")
load("@bazel_gazelle//:def.bzl", "gazelle", "gazelle_binary")
Expand Down Expand Up @@ -86,17 +85,18 @@ js_library(
)

# # Update the version in the podspec
# stamp(
# name = "PlayerUI_Podspec",
# files = ["//:PlayerUI.podspec"],
# stable = True,
# substitutions = {
# "0.0.1-placeholder": "{STABLE_VERSION}",
# },
# )
stamp(
name = "PlayerUI_Podspec",
files = ["//:PlayerUI.podspec"],
stable = True,
substitutions = {
"0.0.1-placeholder": "{STABLE_VERSION}",
},
stamp = -1,
)

exports_files([
"PlayerUI.podspec",
"PlayerUI.podspec"
])

assemble_pod(
Expand Down Expand Up @@ -186,7 +186,7 @@ assemble_pod(
"//plugins/types-provider/ios:PlayerUITypesProviderPlugin_Sources": "plugins/types-provider/ios/",
"//plugins/types-provider/core:core_native_bundle": "plugins/types-provider/ios/Resources/",
},
podspec = ":PlayerUI.podspec",
podspec = ":PlayerUI_Podspec",
)

# # Push podspec to specs repo
Expand Down
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ bazel_dep(name = "rules_player")
git_override(
remote = "https://github.com/player-ui/rules_player.git",
# bazel-6 branch
commit = "e71339c96deeec1f4976fbc04815143ee23d8541",
commit = "ebb436079557ab5dab2c48c6081282c4459b8b47",
module_name = "rules_player",
)
# local_path_override(module_name = "rules_player", path = "../rules_player")
Expand Down

0 comments on commit 8c7089e

Please sign in to comment.