Skip to content

Commit

Permalink
Update publish-storage-account script
Browse files Browse the repository at this point in the history
  • Loading branch information
Anastasia Kubova committed Mar 19, 2021
1 parent dae6120 commit 183779d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/publish-storage-account.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ set -e
AZURE_STORAGE_ACCESS_KEY=${1:-$AZURE_STORAGE_ACCESS_KEY}

BINARY_FILE_FILTER="*.aar"
PUBLISH_VERSION="$(grep "versionName = '" *.gradle | awk -F "[']" '{print $2}')"
ARCHIVE=AppCenter-SDK-Android-${PUBLISH_VERSION}
FULL_VERSION="$(grep "versionName = '" *.gradle | awk -F "[']" '{print $2}')"
PUBLISH_VERSION=`echo $FULL_VERSION | cut -d'-' -f 1`
COMMIT_VERSION=`git show -s --format=%h`
ARCHIVE=AppCenter-SDK-Android-${PUBLISH_VERSION}-${COMMIT_VERSION}
ZIP_FILE=$ARCHIVE.zip

# Copy release aar files from sdk
Expand Down

0 comments on commit 183779d

Please sign in to comment.