diff --git a/gradle.properties b/gradle.properties index a0feb1c7f..e276e7380 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ # POM publishing constants -VERSION_NAME=0.6.18 +VERSION_NAME=0.6.19-SNAPSHOT GROUP=com.facebook.flipper POM_URL=https://github.com/facebook/flipper POM_SCM_URL=https://github.com/facebook/flipper.git diff --git a/scripts/publish-android-snapshot.sh b/scripts/publish-android-snapshot.sh index a0adf6fcd..266dcec90 100755 --- a/scripts/publish-android-snapshot.sh +++ b/scripts/publish-android-snapshot.sh @@ -1,8 +1,8 @@ -#!/usr/bin/bash +#!/usr/bin/env bash set -e BASEDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd )" -IS_SNAPSHOT="$(grep 'VERSION_NAME=[0-9\.]\+-SNAPSHOT' "$BASEDIR/gradle.properties")" +IS_SNAPSHOT="$(grep 'VERSION_NAME=[0-9\.]\+-SNAPSHOT' "$BASEDIR/gradle.properties" || echo "")" if [ "$ANDROID_PUBLISH_KEY" == "" ]; then echo "No encryption key. Skipping snapshot deployment."