#1 fix version check
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Kekskurse 2022-03-10 19:42:57 +01:00
parent b93ac4639d
commit 6ff70bd77b
Signed by: kekskurse
GPG Key ID: 728ACCB59341E7E4
1 changed files with 1 additions and 0 deletions

View File

@ -21,6 +21,7 @@ func (h Version) Execute() (ok bool, data interface{}, err error) {
return true, nil, nil
}
resp, err := http.Get("https://git.keks.cloud/api/v1/repos/kekskurse/http-server-status/releases?limit=1")
defer resp.Body.Close()
var g []struct {
TagName string `json:"tag_name"`