mirror of
https://github.com/CMiksche/gitea-auto-update
synced 2025-12-10 16:07:23 +01:00
ci: switch to drone
Switch the CI system from travis to drone Closes #19
This commit is contained in:
@@ -51,7 +51,7 @@ class Version:
|
||||
try:
|
||||
current_version = requests.get(self.gt_site).json()['version']
|
||||
if current_version.status_code != 200:
|
||||
raise RuntimeError("Could not download version.")
|
||||
raise RuntimeError("Could not download version.") from None
|
||||
except RuntimeError:
|
||||
# To allow installation, return a default version of "0.0.0".
|
||||
current_version = "0.0.0"
|
||||
|
||||
Reference in New Issue
Block a user