OnUpgrade now downloads + replaces the binary and exits in a background goroutine; the service supervisor (systemd Restart=always) respawns on the new version. Removes the "run unarr update" manual step after pressing the web's Force update button.
4 lines
116 B
Go
4 lines
116 B
Go
package cmd
|
|
|
|
// Version is the CLI version. Overridden by goreleaser ldflags at release time.
|
|
var Version = "0.9.6"
|