diff --git a/scripts/publish_aar_to_jcenter.sh b/scripts/publish_aar_to_jcenter.sh index 8e56ea8..e1d7cc0 100644 --- a/scripts/publish_aar_to_jcenter.sh +++ b/scripts/publish_aar_to_jcenter.sh @@ -6,5 +6,5 @@ set -e MY_ANDROID_HOME="${ANDROID_HOME:-$HOME/Android/Sdk}" echo "Publishing.." pushd android_aar -ANDROID_HOME=$MY_ANDROID_HOME ./gradlew bintrayUpload -PbintrayUser=daquexian566 -PbintrayKey=$BINTRAY_KEY -PdryRun=false +ANDROID_HOME=$MY_ANDROID_HOME ./gradlew bintrayUpload -PbintrayUser=daquexian566 -PbintrayKey=$1 -PdryRun=false popd