Skip to content

Commit 27f1223

Browse files
committed
release v1.0.2
Signed-off-by: xiexianbin <me@xiexianbin.cn>
1 parent 86e93f4 commit 27f1223

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

cmd/version.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ func (v Version) String() string {
4343
// CurrentVersion represents the current build version.
4444
// This should be the only one.
4545
var CurrentVersion = Version{
46-
Number: 0.1,
47-
PatchVersion: 0,
48-
Suffix: "-DEV",
46+
Number: 1,
47+
PatchVersion: 2,
48+
Suffix: "",
4949
}
5050

5151
func version(version float32, patchVersion int, suffix string) string {
5252
if patchVersion > 0 {
53-
return fmt.Sprintf("%.2f.%d%s", version, patchVersion, suffix)
53+
return fmt.Sprintf("%.1f.%d%s", version, patchVersion, suffix)
5454
}
5555
return fmt.Sprintf("%.2f%s", version, suffix)
5656
}

0 commit comments

Comments
 (0)