fix deployment

Alya Sirko 2022-09-20 08:31:20 +03:00
parent 48b29cc772
commit fb3e084b4f
1 changed files with 1 additions and 1 deletions

2
ci.py
View File

@ -63,7 +63,7 @@ def gitea_create_release():
return error
def gitea_get_release_id():
url = f"{GITEA_HOST_URL}/api/v1/repos/{GITEA_REPO_FULL}/releases/tags/{APP_SEMVER}"
url = f"{GITEA_HOST_URL}/api/v1/repos/{GITEA_REPO_FULL}/releases/tags/{os.environ.get('DRONE_SEMVER') or APP_SEMVER}"
request = requests.get(url)