Files
MuyueWorkspace/internal/version/version.go
Augustin 3f36974b59
All checks were successful
Stable Release / stable (push) Successful in 1m48s
fix(ui): add MarkdownContent component, fix deprecated meta tag, bump v0.9.2
- Add missing MarkdownContent component (ReactMarkdown + remarkGfm wrapper)
- Replace deprecated apple-mobile-web-app-capable with mobile-web-app-capable
- Bump version to 0.9.2

Assisted-by: GLM-5.1 via Crush <crush@charm.land>
2026-04-28 13:18:38 +02:00

34 lines
670 B
Go

package version
import (
"fmt"
"runtime"
)
const (
Name = "muyue"
Version = "0.9.2"
Author = "La Légion de Muyue"
)
var (
// BuildDate is set at build time
BuildDate = ""
)
func FullVersion() string {
return Name + " v" + Version
}
// FullInfo returns full version information.
func FullInfo() string {
info := fmt.Sprintf("%-12s %s\n", "Version:", Version)
info += fmt.Sprintf("%-12s %s\n", "Author:", Author)
info += fmt.Sprintf("%-12s %s\n", "Go:", runtime.Version())
info += fmt.Sprintf("%-12s %s\n", "Platform:", runtime.GOOS+"/"+runtime.GOARCH)
if BuildDate != "" {
info += fmt.Sprintf("%-12s %s\n", "Build:", BuildDate)
}
return info
}