Skip to content

Commit 88f37d8

Browse files
authored
Release/6.0.1 (#538)
* update version * update spm * Fix build spm url * Fix spm package
1 parent e7db8b8 commit 88f37d8

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed

LeanplumSDK/LeanplumSDK/Classes/Internal/LPConstants.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
#define IS_NOOP (IS_JAILBROKEN || [LPConstantsState sharedState].isTestMode || [LPConstantsState sharedState].isInPermanentFailureState)
3939
#define RETURN_IF_NOOP if (IS_NOOP) return
4040

41-
#define LEANPLUM_SDK_VERSION @"6.0.0"
41+
#define LEANPLUM_SDK_VERSION @"6.0.1"
4242
#define LEANPLUM_CLIENT @"ios"
4343
#define LEANPLUM_SUPPORTED_ENCODING @"gzip"
4444

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ let package = Package(
1111
.library(name: "LeanplumLocation", targets: ["LeanplumLocation"])
1212
],
1313
dependencies: [
14-
.package(url: "https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/6.0.0/Leanplum.xcframework.zip",
14+
.package(url: "https://github.com/CleverTap/clevertap-ios-sdk", from: "4.1.4")
1515
],
1616
targets: [
1717
.binaryTarget(
1818
name: "Leanplum",
19-
url: "https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/5.0.0/Leanplum.xcframework.zip",
20-
checksum: "79cbaef9fa35ae12e35a9ecb4417f06079edf166005ed1a582cb903e0d15c135"
19+
url: "https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/6.0.1/Leanplum.xcframework.zip",
20+
checksum: "8bd35c71da15bdb14facbcc3b09d7757695d0a9639336bf7b9097849c614d058"
2121
),
2222
.target(
2323
name: "LeanplumLocation",

Tools/build.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,8 +281,10 @@ update_spm_info(){
281281
version=`cat sdk-version.txt`
282282
lp_framework="Leanplum.xcframework.zip"
283283
github_url="https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download"
284+
github_url_escaped="https:\/\/github.com\/Leanplum\/Leanplum-iOS-SDK\/releases\/download"
284285
url="$github_url/$version/$lp_framework"
285-
awk -v value="\"$url\"," '!x{x=sub(/url: .*/, "url: "value)}1' $package_file > $package_tmp_file \
286+
sub="!x{x=sub(/url: \\\"${github_url_escaped}.*/, \"url: \"value)}1"
287+
awk -v value="\"$url\"," "$sub" $package_file > $package_tmp_file \
286288
&& mv $package_tmp_file $package_file
287289
}
288290

sdk-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6.0.0
1+
6.0.1

0 commit comments

Comments
 (0)