Container-Image veröffentlichen / container (push) v1.4.0 wurde manuell veröffentlicht und verifiziert
16 lines
417 B
Go
16 lines
417 B
Go
package appupdate
|
|
|
|
import "github.com/root-kdw12/hetzner-api-dyndns-records-webinterface/internal/updateprotocol"
|
|
|
|
func compareVersions(left, right string) (int, error) {
|
|
return updateprotocol.CompareVersions(left, right)
|
|
}
|
|
|
|
func validReleaseVersion(version string) bool {
|
|
if !updateprotocol.ValidVersion(version) {
|
|
return false
|
|
}
|
|
_, err := updateprotocol.CompareVersions(version, version)
|
|
return err == nil
|
|
}
|