5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-16 17:09:28 +08:00

Make dev version string semantic version compatible.

This commit is contained in:
Lea Anthony 2025-01-10 16:05:05 +11:00
parent 77b8b89130
commit 88f262b9c2
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405

View File

@ -8,11 +8,13 @@ import (
//go:embed version.txt
var versionString string
const DevVersion = "v3.0.0-dev"
func String() string {
if !IsDev() {
return versionString
}
return "v3 dev"
return DevVersion
}
func LatestStable() string {