Skip to content

Commit 8a6c937

Browse files
fix(cd): enable tag retrieval through increasing fetch-depth (#175)
1 parent 0f9f93b commit 8a6c937

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,10 @@ jobs:
5454
# Var is empty if command to retrieve tag fails (e.g. if current SHA has no tag associated)
5555
steps:
5656

57-
- uses: actions/checkout@v4
57+
- name: Clone repo with complete history and tags
58+
uses: actions/checkout@v4
59+
with:
60+
fetch-depth: 0
5861

5962
- name: Store tag of SHA if present
6063
id: tag-retriever

0 commit comments

Comments
 (0)