File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 42
42
- name : Ensure Cocoapods repo has been updated
43
43
run : |
44
44
# If the new version is simply vX.Y.Z or X.Y.Z, wait up to an hour each for its podspec and prebuilt zip file to be present.
45
- if [[ "$GITHUB_REF" =~ ^v?[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
46
- version=$(echo "$GITHUB_REF" | sed s/ ^v//) # remove leading v if present
45
+ if [[ "$GITHUB_REF" =~ ^(refs/tags/)? v?[0-9]+\.[0-9]+\.[0-9]+$ ]]; then
46
+ version=$(echo "$GITHUB_REF" | sed 's|^refs/tags/||' | sed s/ ^v//) # remove leading refs/tags and v if present
47
47
echo "Checking Cocoapods repo for associated Firebase ${version} podspec."
48
48
podspec_url="https://github.com/CocoaPods/Specs/blob/master/Specs/0/3/5/Firebase/${version}/Firebase.podspec.json"
49
49
for retry in {1..12} error; do
You can’t perform that action at this time.
0 commit comments