android: fix SDK release script for new dependency syntax
Skip the first character, since it's now like ^123456.0.0
This commit is contained in:
parent
287115f4c3
commit
97d75c2cb9
|
@ -10,7 +10,7 @@ MVN_HTTP=0
|
||||||
DEFAULT_SDK_VERSION=$(grep sdkVersion ${THIS_DIR}/../gradle.properties | cut -d"=" -f2)
|
DEFAULT_SDK_VERSION=$(grep sdkVersion ${THIS_DIR}/../gradle.properties | cut -d"=" -f2)
|
||||||
SDK_VERSION=${OVERRIDE_SDK_VERSION:-${DEFAULT_SDK_VERSION}}
|
SDK_VERSION=${OVERRIDE_SDK_VERSION:-${DEFAULT_SDK_VERSION}}
|
||||||
RN_VERSION=$(jq -r '.dependencies."react-native"' ${THIS_DIR}/../../package.json)
|
RN_VERSION=$(jq -r '.dependencies."react-native"' ${THIS_DIR}/../../package.json)
|
||||||
JSC_VERSION="r"$(jq -r '.dependencies."jsc-android"' ${THIS_DIR}/../../node_modules/react-native/package.json | cut -d . -f 1)
|
JSC_VERSION="r"$(jq -r '.dependencies."jsc-android"' ${THIS_DIR}/../../node_modules/react-native/package.json | cut -d . -f 1 | cut -c 2-)
|
||||||
DO_GIT_TAG=${GIT_TAG:-0}
|
DO_GIT_TAG=${GIT_TAG:-0}
|
||||||
|
|
||||||
if [[ $THE_MVN_REPO == http* ]]; then
|
if [[ $THE_MVN_REPO == http* ]]; then
|
||||||
|
|
Loading…
Reference in New Issue