mirror of
https://github.com/cupcakearmy/autorestic.git
synced 2024-12-22 08:16:25 +00:00
fix version upgrade
This commit is contained in:
parent
a5471efa21
commit
e671780e54
@ -130,7 +130,7 @@ func Upgrade(restic bool) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if current.GT(latest) {
|
if current.LT(latest) {
|
||||||
downloadAndInstallAsset(body, "autorestic")
|
downloadAndInstallAsset(body, "autorestic")
|
||||||
colors.Success.Println("Updated autorestic")
|
colors.Success.Println("Updated autorestic")
|
||||||
} else {
|
} else {
|
||||||
|
@ -12,7 +12,7 @@ import (
|
|||||||
"github.com/spf13/viper"
|
"github.com/spf13/viper"
|
||||||
)
|
)
|
||||||
|
|
||||||
const VERSION = "1.0.1"
|
const VERSION = "1.0.0"
|
||||||
|
|
||||||
var CI bool = false
|
var CI bool = false
|
||||||
var VERBOSE bool = false
|
var VERBOSE bool = false
|
||||||
|
Loading…
Reference in New Issue
Block a user