Skip to content

Commit 6f45b47

Browse files
ShahanaFarooquimadelinevibes
authored andcommitted
ci: remove fetch-tags from checkout
Fixes conflict error in Release action when trying to fetch the commit and tag both together. Like ``` fatal: Cannot fetch both da7d305 and refs/tags/v25.09rc1 to refs/tags/v25.09rc1 ``` Changelog-None.
1 parent e2e9ba3 commit 6f45b47

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

.github/workflows/release.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131
uses: actions/checkout@v4
3232
with:
3333
ref: ${{ github.ref }}
34-
fetch-depth: 0
35-
fetch-tags: true
3634

3735
- name: Determine version
3836
run: |
@@ -69,8 +67,6 @@ jobs:
6967
steps:
7068
- name: Git checkout
7169
uses: actions/checkout@v4
72-
with:
73-
fetch-tags: true
7470

7571
# tools/build-release.sh requires lowdown
7672
- name: Prepare base environment
@@ -129,8 +125,6 @@ jobs:
129125
steps:
130126
- name: Git checkout
131127
uses: actions/checkout@v4
132-
with:
133-
fetch-tags: true
134128

135129
- name: Download artifact
136130
uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)