Skip to content

Commit

Permalink
Use tag name from buildkite env variable for app version name (#522)
Browse files Browse the repository at this point in the history
  • Loading branch information
elgatovital authored Jan 7, 2020
1 parent 8b76545 commit d67cce6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ci/upload_crashlytics_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions ci/upload_to_github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit d67cce6

Please sign in to comment.