Skip to content

Commit

Permalink
[Infra] Cleanup and small fixes for prerelease.yml (#13439)
Browse files Browse the repository at this point in the history
  • Loading branch information
ncooke3 authored Aug 1, 2024
1 parent b3ca2f3 commit 9efe60a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 16 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ jobs:
echo "::set-output name=matrix::{\"include\":$( cat output.json )}"
- name: Update SpecsTesting repo setup
run: |
test_version="${nightly_version}" \
sdk_version_config="${GITHUB_WORKSPACE}/scripts/create_spec_repo/RC_firebase_sdk.textproto" \
podspec_repo_branch="${podspec_repo_branch}" \
podspec_repo_branch="${podspec_repo_branch}" \
scripts/release_testing_setup.sh prerelease_testing
env:
BOT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -170,9 +168,7 @@ jobs:
- name: Update SpecsTesting repo setup
run: |
# Update/create a nightly tag to the head of the main branch.
test_version="${nightly_version}" \
sdk_version_config="${GITHUB_WORKSPACE}/scripts/create_spec_repo/RC_firebase_sdk.textproto" \
podspec_repo_branch="${podspec_repo_branch}" \
podspec_repo_branch="${podspec_repo_branch}" \
scripts/release_testing_setup.sh prerelease_testing
env:
BOT_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
9 changes: 0 additions & 9 deletions scripts/create_spec_repo/RC_firebase_sdk.textproto

This file was deleted.

1 change: 0 additions & 1 deletion scripts/release_testing_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ if [ "$TESTINGMODE" = "release_testing" ]; then
cd "${local_sdk_repo_dir}"
elif [ "$TESTINGMODE" = "prerelease_testing" ]; then
git fetch --tags --quiet origin main
git checkout main
fi

# The chunk below is to determine the latest version by searching
Expand Down

0 comments on commit 9efe60a

Please sign in to comment.