Skip to content

Commit 9216a48

Browse files
committed
Fetch tags so a released binary does not use a date
Without an actual tag fetched, the build would incorrectly version the binary with a date instead of the version number. Signed-off-by: Remy Suen <remy.suen@docker.com>
1 parent 9fd4fd1 commit 9216a48

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,8 @@ jobs:
249249

250250
steps:
251251
- uses: actions/checkout@v4
252+
with:
253+
fetch-tags: true
252254

253255
- uses: actions/setup-go@v5
254256
with:

0 commit comments

Comments
 (0)