Skip to content

Commit c421661

Browse files
authored
[Infra] Release testing should grab latest tag on any branch (#13769)
1 parent 8f44bbc commit c421661

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

scripts/release_testing_setup.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ git fetch --tags --quiet origin main
2525
git checkout main
2626

2727
# The chunk below is to determine the latest version by searching
28-
# Get the latest released tag Cocoapods-X.Y.Z for release and prerelease testing, beta version will be excluded.
28+
# Get the latest released tag Cocoapods-X.Y.Z for release and prerelease
29+
# testing, beta version will be excluded.
30+
# Note: If the nightly tag was not updated, check that the next release's tag
31+
# is on the main branch.
2932
test_version=$(git tag -l --sort=-version:refname --merged main 'CocoaPods-*[0-9]' | head -n 1)
3033
if [ -z "$test_version" ]; then
3134
echo "Latest tag could not be found. Exiting." >&2

0 commit comments

Comments
 (0)