feat!: MAJOR release. Update go to 1.25, and add migration path (#520)
BREAKING CHANGE: This bumps Go and external packages to later versions.
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
)
|
||||
|
||||
var pluginOptions app.PluginOptions
|
||||
var Version = "unknown" // Set via ldflags
|
||||
|
||||
func main() {
|
||||
log.SetFlags(0)
|
||||
@@ -20,6 +21,7 @@ func main() {
|
||||
|
||||
err := json.Unmarshal([]byte(os.Args[1]), &pluginOptions)
|
||||
app.SetPluginOptions(pluginOptions)
|
||||
app.SetVersion(Version)
|
||||
|
||||
if err != nil {
|
||||
log.Fatalf("Failure parsing plugin settings: %v", err)
|
||||
|
||||
Reference in New Issue
Block a user