Files
agent-dashboard/cmd/agent-notify/version.go
T
laily 56a189e678 ci: add cross-platform release workflow with version injection
Build linux/darwin amd64 and arm64 artifacts on push, upload GitHub
Release assets on v* tags, and expose version via agent-notify version.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-05-26 12:50:26 +08:00

17 lines
255 B
Go

package main
import "fmt"
var (
version = "dev"
commit = "none"
buildDate = "unknown"
)
func cmdVersion() error {
fmt.Printf("agent-notify %s\n", version)
fmt.Printf("commit: %s\n", commit)
fmt.Printf("built: %s\n", buildDate)
return nil
}