Skip to content

Commit

Permalink
ci: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Salakar committed Jun 12, 2020
1 parent ba454d0 commit 74341e4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/scripts/process-latest-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ pod spec which Firebase

FIREBASE_GITHUB_REPOSITORY=firebase/firebase-ios-sdk
LATEST_FIREBASE_PODSPEC=$(pod spec which Firebase)
# TODO temp hard coded to run earlier releases
LATEST_FIREBASE_PODSPEC=$(echo $LATEST_FIREBASE_PODSPEC | sed "s/6.26.0/6.25.0/")
LATEST_FIREBASE_VERSION=$(python -c 'import json,sys; print(json.loads(sys.stdin.read())["version"])' <"$LATEST_FIREBASE_PODSPEC")

# -------------------
# Functions
# -------------------
Expand Down Expand Up @@ -236,4 +235,4 @@ git push origin master --follow-tags
create_github_release "$LATEST_FIREBASE_VERSION" "\"[View Firebase iOS SDK Release](https://github.com/firebase/firebase-ios-sdk/releases/tag/$LATEST_FIREBASE_VERSION)\"" "$LATEST_FIREBASE_VERSION"

echo ""
echo "Downloading asset..."
echo "Release $LATEST_FIREBASE_VERSION complete."

0 comments on commit 74341e4

Please sign in to comment.