Files
seaweedfs/weed/util/version/constants.go

20 lines
350 B
Go
Raw Normal View History

2025-06-03 22:46:07 -07:00
package version
2019-04-08 22:32:42 -07:00
import (
"fmt"
2025-06-08 20:59:43 -07:00
2025-06-03 22:46:07 -07:00
"github.com/seaweedfs/seaweedfs/weed/util"
2019-04-08 22:32:42 -07:00
)
var (
2024-07-21 20:13:51 -07:00
MAJOR_VERSION = int32(3)
2025-07-31 22:46:51 -07:00
MINOR_VERSION = int32(96)
2024-07-21 20:13:51 -07:00
VERSION_NUMBER = fmt.Sprintf("%d.%02d", MAJOR_VERSION, MINOR_VERSION)
2025-06-03 22:46:07 -07:00
VERSION = util.SizeLimit + " " + VERSION_NUMBER
2021-09-03 20:42:28 -07:00
COMMIT = ""
)
2020-06-02 00:10:35 -07:00
func Version() string {
return VERSION + " " + COMMIT
2020-06-05 15:27:10 -07:00
}