Skip to content

Commit b068c08

Browse files
committed
fix: release version extraction needs full git history
fetch-depth: 0 required for git-version-gen to work properly
1 parent 8f4fe59 commit b068c08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ jobs:
586586
- name: Checkout for version info
587587
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
588588
with:
589-
fetch-depth: 1
589+
fetch-depth: 0 # Need full history for git-version-gen
590590

591591
- name: Get version and build number
592592
id: version

0 commit comments

Comments
 (0)