diff options
author | jmkiley <jordan.kiley@mapbox.com> | 2018-11-29 12:44:54 -0800 |
---|---|---|
committer | jmkiley <jordan.kiley@mapbox.com> | 2018-11-29 12:44:54 -0800 |
commit | e34166d0d9a29789dd8d492352331c8a0a413491 (patch) | |
tree | f2f95d2dcd342389200e280b20942cb2ee261e46 | |
parent | 66994fb6b5f079905824bc36a9a2efda05099f92 (diff) |
[ios] Add publish version to the publish-cn.sh scriptv4.5.0-cn.1
-rwxr-xr-x | platform/ios/scripts/publish-cn.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/ios/scripts/publish-cn.sh b/platform/ios/scripts/publish-cn.sh index f66404244..a0cbdca02 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 # |