diff options
author | 2024-02-12 03:03:56 -0800 | |
---|---|---|
committer | 2024-02-12 11:03:56 +0000 | |
commit | 54ca2cfa6ed7fe4b2a39d7244d8cfaa1ced0a2e7 (patch) | |
tree | b0f6a21f7a013dd3315cead3d8ce5b89dcf10b28 | |
parent | [chore]: Bump github.com/tdewolff/minify/v2 from 2.20.14 to 2.20.16 (#2631) (diff) | |
download | gotosocial-54ca2cfa6ed7fe4b2a39d7244d8cfaa1ced0a2e7.tar.xz |
Make GtS reported version SemVer-compatible (#2611)
-rw-r--r-- | cmd/gotosocial/main.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/gotosocial/main.go b/cmd/gotosocial/main.go index bae5d1faf..5c610f1a3 100644 --- a/cmd/gotosocial/main.go +++ b/cmd/gotosocial/main.go @@ -77,6 +77,7 @@ func main() { } // version will build a version string from binary's stored build information. +// It is SemVer-compatible so long as Version is SemVer-compatible. func version() string { // Read build information from binary build, ok := godebug.ReadBuildInfo() @@ -115,5 +116,5 @@ func version() string { } } - return strings.Join(info, " ") + return strings.Join(info, "+") } |