Skip to content

Commit 1930820

Browse files
committed
chore: Update to 4.8.1-alpha.2 because of wrong var type in Ruby.
1 parent f50b4c7 commit 1930820

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-native-context-sdk",
3-
"version": "4.8.1-alpha.1",
3+
"version": "4.8.1-alpha.2",
44
"description": "ContextSDK for React Native",
55
"main": "lib/commonjs/index",
66
"module": "lib/module/index",

react-native-context-sdk.podspec

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
1010
s.homepage = package["homepage"]
1111
s.authors = package["author"]
1212
s.platforms = { :ios => '14.0' }
13-
s.source = { :git => "https://github.com/context-sdk/react-native", :tag => s.version }
13+
s.source = { :git => "https://github.com/context-sdk/react-native", :tag => s.version.to_s }
1414
s.source_files = "ios/**/*.{h,m,mm,swift}"
1515

1616
# A map used to map the React Native version to the compatible Context SDK version, only when the these versions are not the same.
@@ -20,8 +20,9 @@ Pod::Spec.new do |s|
2020
"4.7.4" => "4.7.0",
2121
"4.7.5" => "4.7.1",
2222
"4.8.1-alpha.1" => "4.8.0",
23+
"4.8.1-alpha.2" => "4.8.0",
2324
}
24-
mapped_version = version_mapping[s.version] || s.version
25+
mapped_version = version_mapping[s.version.to_s] || s.version.to_s
2526
s.dependency("ContextSDK", mapped_version)
2627

2728
# Use install_modules_dependencies helper to install the dependencies if React Native version >=0.71.0.

0 commit comments

Comments
 (0)