Skip to content

Commit f4acec2

Browse files
committed
ci: fix checkout steps
1 parent eda2d04 commit f4acec2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
DOCKER_CLI_EXPERIMENTAL: "enabled"
2121
steps:
2222
- uses: actions/checkout@v4
23+
with:
24+
fetch-depth: 0
2325

2426
- uses: arduino/setup-task@v2
2527
with:

.goreleaser.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ builds:
4141
flags:
4242
- -trimpath
4343
ldflags:
44-
- -s -w -X {{ .ModulePath }}/main.version={{ .Version }} -X {{ .ModulePath }}/main.commit={{ .Commit }} -X {{ .ModulePath }}/main.date={{ .CommitDate }}
44+
- -s -w -X {{ .ModulePath }}.version={{ .Version }} -X {{ .ModulePath }}.commit={{ .Commit }} -X {{ .ModulePath }}.date={{ .CommitDate }}
4545

4646
universal_binaries:
4747
- replace: false

0 commit comments

Comments
 (0)