Skip to content

Commit

Permalink
Release/6.0.1 (#538)
Browse files Browse the repository at this point in the history
* update version

* update spm

* Fix build spm url

* Fix spm package
  • Loading branch information
nzagorchev authored Nov 3, 2022
1 parent e7db8b8 commit 88f37d8
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion LeanplumSDK/LeanplumSDK/Classes/Internal/LPConstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#define IS_NOOP (IS_JAILBROKEN || [LPConstantsState sharedState].isTestMode || [LPConstantsState sharedState].isInPermanentFailureState)
#define RETURN_IF_NOOP if (IS_NOOP) return

#define LEANPLUM_SDK_VERSION @"6.0.0"
#define LEANPLUM_SDK_VERSION @"6.0.1"
#define LEANPLUM_CLIENT @"ios"
#define LEANPLUM_SUPPORTED_ENCODING @"gzip"

Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ let package = Package(
.library(name: "LeanplumLocation", targets: ["LeanplumLocation"])
],
dependencies: [
.package(url: "https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/6.0.0/Leanplum.xcframework.zip",
.package(url: "https://github.com/CleverTap/clevertap-ios-sdk", from: "4.1.4")
],
targets: [
.binaryTarget(
name: "Leanplum",
url: "https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/5.0.0/Leanplum.xcframework.zip",
checksum: "79cbaef9fa35ae12e35a9ecb4417f06079edf166005ed1a582cb903e0d15c135"
url: "https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download/6.0.1/Leanplum.xcframework.zip",
checksum: "8bd35c71da15bdb14facbcc3b09d7757695d0a9639336bf7b9097849c614d058"
),
.target(
name: "LeanplumLocation",
Expand Down
4 changes: 3 additions & 1 deletion Tools/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -281,8 +281,10 @@ update_spm_info(){
version=`cat sdk-version.txt`
lp_framework="Leanplum.xcframework.zip"
github_url="https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download"
github_url_escaped="https:\/\/github.com\/Leanplum\/Leanplum-iOS-SDK\/releases\/download"
url="$github_url/$version/$lp_framework"
awk -v value="\"$url\"," '!x{x=sub(/url: .*/, "url: "value)}1' $package_file > $package_tmp_file \
sub="!x{x=sub(/url: \\\"${github_url_escaped}.*/, \"url: \"value)}1"
awk -v value="\"$url\"," "$sub" $package_file > $package_tmp_file \
&& mv $package_tmp_file $package_file
}

Expand Down
2 changes: 1 addition & 1 deletion sdk-version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.0.0
6.0.1

0 comments on commit 88f37d8

Please sign in to comment.