From bdbd71b3993005ce257d3e71b7958389ddc6f9bd Mon Sep 17 00:00:00 2001 From: Pascal Hartig Date: Tue, 15 Jan 2019 07:17:04 -0800 Subject: [PATCH] Fix bintray upload script (#353) Summary: I feel like I'm having a Groundhog Day moment. Haven't I fixed this before? Anyway, the release script fails (very verbosely) with an NPE (https://circleci.com/gh/facebook/flipper/467?utm_campaign=workflow-failed&utm_medium=email&utm_source=notification) when you run it on the root project. So we need to specify the sub-projects we want to run it on. groundhogday Pull Request resolved: https://github.com/facebook/flipper/pull/353 Reviewed By: priteshrnandgaonkar Differential Revision: D13652379 Pulled By: passy fbshipit-source-id: dd9ff26444db7b30974a041870796b679e7fee0c --- scripts/publish-android-release.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/publish-android-release.sh b/scripts/publish-android-release.sh index 7d590f2f0..f1222f6f2 100755 --- a/scripts/publish-android-release.sh +++ b/scripts/publish-android-release.sh @@ -12,5 +12,5 @@ elif [ "$IS_SNAPSHOT" != "" ]; then exit 1 else openssl aes-256-cbc -d -in scripts/bintray-publish-keys.enc -k "$ANDROID_PUBLISH_KEY" >> "$BASEDIR/gradle.properties" - "$BASEDIR"/gradlew bintrayUpload -PdryRun=false + "$BASEDIR"/gradlew :android:bintrayUpload :fbjni:bintrayUpload -PdryRun=false fi