summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmkiley <jordan.kiley@mapbox.com>2018-11-29 12:44:54 -0800
committerjmkiley <jordan.kiley@mapbox.com>2018-11-29 12:44:54 -0800
commite34166d0d9a29789dd8d492352331c8a0a413491 (patch)
treef2f95d2dcd342389200e280b20942cb2ee261e46
parent66994fb6b5f079905824bc36a9a2efda05099f92 (diff)
downloadqtlocation-mapboxgl-upstream/jmkiley-git-tag-release.tar.gz
[ios] Add publish version to the publish-cn.sh scriptv4.5.0-cn.1upstream/jmkiley-git-tag-release
-rwxr-xr-xplatform/ios/scripts/publish-cn.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/ios/scripts/publish-cn.sh b/platform/ios/scripts/publish-cn.sh
index f664042445..a0cbdca02c 100755
--- a/platform/ios/scripts/publish-cn.sh
+++ b/platform/ios/scripts/publish-cn.sh
@@ -10,6 +10,18 @@ function finish { >&2 echo -en "\033[0m"; }
trap finish EXIT
#
+# iOS 8-compatible release tag format is `vX.Y.Z-cn.1`; `X.Y.Z-cn.1` gets passed in
+# In the case of symbolicated builds, we also append the `-symbols`.
+#
+PUBLISH_VERSION="$1"
+
+if [[ ${#} -eq 2 ]]; then
+ PUBLISH_STYLE="-$2"
+else
+ PUBLISH_STYLE=""
+fi
+
+#
# make the framework
#