File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -161,6 +161,8 @@ jobs:
161161 podspec_repo_branch : main
162162 steps :
163163 - uses : actions/checkout@v4
164+ with :
165+ fetch-depth : 0
164166 - name : Get token
165167 run : |
166168 scripts/decrypt_gha_secret.sh scripts/gha-encrypted/prerelease-testing-token.txt.gpg \
Original file line number Diff line number Diff line change @@ -31,16 +31,12 @@ if [ "$TESTINGMODE" = "release_testing" ]; then
3131 set -x
3232 cd " ${local_sdk_repo_dir} "
3333elif [ " $TESTINGMODE " = " prerelease_testing" ]; then
34- set -x
3534 git fetch --tags --quiet origin main
3635 git checkout main
3736fi
3837
3938# The chunk below is to determine the latest version by searching
4039# Get the latest released tag Cocoapods-X.Y.Z for release and prerelease testing, beta version will be excluded.
41- test_version=$( git tag -l --sort=-version:refname CocoaPods-* [0-9] | head -n 1)
42- test_version=$( git tag -l --sort=-version:refname ' CocoaPods-*[0-9]' | head -n 1)
43- test_version=$( git tag -l --sort=-version:refname --merged main CocoaPods-* [0-9] | head -n 1)
4440test_version=$( git tag -l --sort=-version:refname --merged main ' CocoaPods-*[0-9]' | head -n 1)
4541git for-each-ref --sort=-creatordate --format ' %(creatordate:short) %(refname:short)' refs/tags | head -n 3
4642if [ -z " $test_version " ]; then
You can’t perform that action at this time.
0 commit comments