File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -14,20 +14,16 @@ builds:
1414 flags :
1515 - ' -trimpath'
1616 ldflags :
17- - ' -s -w -X version.VERSION={{.Version}} -X main.commit ={{.Commit}}'
17+ - " -s -w -X 'kfutil/pkg/ version.VERSION={{ .Version }}' -X 'kfutil/pkg/version.COMMIT ={{ .Commit }}' -X 'kfutil/pkg/version.BUILD_DATE={{ .CommitTimestamp }}' "
1818 goos :
1919 - freebsd
2020 - windows
2121 - linux
2222 - darwin
2323 goarch :
2424 - amd64
25- - ' 386'
2625 - arm
2726 - arm64
28- ignore :
29- - goos : darwin
30- goarch : ' 386'
3127 binary : ' kfutil'
3228archives :
3329 - format : zip
Original file line number Diff line number Diff line change 1+ # v1.6.2
2+
3+ ## Fixes
4+
5+ ### CLI
6+
7+ - ` version ` : Correct version is reported for ` kfutil version `
8+
19# v1.6.1
210
311## Fixes
Original file line number Diff line number Diff line change 1414
1515package version
1616
17- const VERSION = "1.6.0"
17+ var (
18+ VERSION = "1.6.0"
19+ BUILD_DATE = "2024-03-25"
20+ COMMIT = "HEAD"
21+ )
You can’t perform that action at this time.
0 commit comments