Skip to content

Commit 260d624

Browse files
ShahanaFarooquiendothermicdev
authored andcommitted
ci: Checkout with fresh tags in case the old tag reference is corrupted
The workflow fails to trigger manually after recreating the release tag. It should support re-running even if the tag was previously deleted and recreated. Changelog-None.
1 parent d5da3c9 commit 260d624

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
- name: Git checkout
3131
uses: actions/checkout@v4
3232
with:
33+
ref: ${{ github.ref }}
34+
fetch-depth: 0
3335
fetch-tags: true
3436

3537
- name: Determine version

0 commit comments

Comments
 (0)