Skip to content

Commit

Permalink
Make dev version string semantic version compatible.
Browse files Browse the repository at this point in the history
  • Loading branch information
leaanthony committed Jan 10, 2025
1 parent 77b8b89 commit 88f262b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion v3/internal/version/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 88f262b

Please sign in to comment.