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:
14
14
flags :
15
15
- ' -trimpath'
16
16
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 }}' "
18
18
goos :
19
19
- freebsd
20
20
- windows
21
21
- linux
22
22
- darwin
23
23
goarch :
24
24
- amd64
25
- - ' 386'
26
25
- arm
27
26
- arm64
28
- ignore :
29
- - goos : darwin
30
- goarch : ' 386'
31
27
binary : ' kfutil'
32
28
archives :
33
29
- 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
+
1
9
# v1.6.1
2
10
3
11
## Fixes
Original file line number Diff line number Diff line change 14
14
15
15
package version
16
16
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