Skip to content

Commit c6a29d4

Browse files
committed
Fix release workflow for lightweight tags
1 parent 412a104 commit c6a29d4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ jobs:
3838
xcode-version: latest-stable
3939

4040
- name: Verify release tag exists
41-
run: git rev-parse "${RELEASE_TAG}^{tag}"
41+
run: |
42+
git show-ref --verify --quiet "refs/tags/${RELEASE_TAG}"
43+
git rev-parse --verify "${RELEASE_TAG}^{commit}"
4244
4345
- name: Run test suite before archiving
4446
run: |

0 commit comments

Comments
 (0)