diff options
-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 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 # |