1
0
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:
Christoph Miksche
2021-04-20 18:25:23 +02:00
parent 4f5bd47ea6
commit c52491ae2e
5 changed files with 14 additions and 14 deletions

View File

@@ -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"