We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc76e14 commit f290782Copy full SHA for f290782
Tools/build.sh
@@ -281,8 +281,10 @@ update_spm_info(){
281
version=`cat sdk-version.txt`
282
lp_framework="Leanplum.xcframework.zip"
283
github_url="https://github.com/Leanplum/Leanplum-iOS-SDK/releases/download"
284
+ github_url_escaped="https:\/\/github.com\/Leanplum\/Leanplum-iOS-SDK\/releases\/download"
285
url="$github_url/$version/$lp_framework"
- 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 \
288
&& mv $package_tmp_file $package_file
289
}
290
0 commit comments