diff --git a/scripts/publish_ios.sh b/scripts/publish_ios.sh index 01609292487..f65f3e56092 100755 --- a/scripts/publish_ios.sh +++ b/scripts/publish_ios.sh @@ -5,7 +5,7 @@ set -o pipefail set -u # -# iOS release tag format is `ios-vX.Y.Z` +# iOS release tag format is `ios-vX.Y.Z`; `X.Y.Z` gets passed in # PUBLISH_VERSION="$1" diff --git a/scripts/travis_script.sh b/scripts/travis_script.sh index 28540d886fe..0351f941449 100755 --- a/scripts/travis_script.sh +++ b/scripts/travis_script.sh @@ -2,7 +2,7 @@ COMMIT_MESSAGE=$(git show -s --format=%B $1 | tr -d '\n') PUBLISH_TAG=$(echo "$COMMIT_MESSAGE" | grep -oE '\[publish [a-z0-9\.\-]+\]' | grep -oE '[a-z0-9\.\-]+' | tail -n1) -PUBLISH_PLATFORM=$(echo "$PUBLISH_TAG" | awk -F '-' '{ print $1 }') +PUBLISH_PLATFORM=$(echo "$PUBLISH_TAG" | awk -F '-v' '{ print $1 }') PUBLISH_VERSION=$(echo "$PUBLISH_TAG" | awk -F '-v' '{ print $2 }') set -e