diff --git a/ci/upload_crashlytics_versions.sh b/ci/upload_crashlytics_versions.sh index 5961a682f6..327c4b2c0c 100644 --- a/ci/upload_crashlytics_versions.sh +++ b/ci/upload_crashlytics_versions.sh @@ -5,6 +5,8 @@ set -e # Buildkite uses a clean state for each step (for concurrency) ./ci/prepare_env_buildkite.sh +# Buildkite branch equals to tag name if build was triggered by tag +export APP_VERSION_NAME=${BUILDKITE_BRANCH:1} echo "apiSecret=$FABRIC_API_SECRET" > app/fabric.properties echo "apiKey=$FABRIC_API_KEY" >> app/fabric.properties diff --git a/ci/upload_to_github.sh b/ci/upload_to_github.sh index 6f6270b990..b311edf617 100644 --- a/ci/upload_to_github.sh +++ b/ci/upload_to_github.sh @@ -6,6 +6,9 @@ set -e # Buildkite uses a clean state for each step (for concurrency) source ./ci/prepare_env_buildkite.sh +# Buildkite branch equals to tag name if build was triggered by tag +export APP_VERSION_NAME=${BUILDKITE_BRANCH:1} + echo "apiSecret=$FABRIC_API_SECRET" > app/fabric.properties echo "apiKey=$FABRIC_API_KEY" >> app/fabric.properties