diff --git a/.version b/.version index 3cf561c0..4f233b44 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -2.12.1 +2.12.2-alpha.1 diff --git a/package.json b/package.json index 6bad1223..9e80b7f8 100644 --- a/package.json +++ b/package.json @@ -80,5 +80,5 @@ "test:lint": "poetry run tox -e lint", "test:prettier": "prettier --check --config .prettierrc \"web/**/*.{ts,css,less,scss,js,json,md,yaml,html}\"" }, - "version": "2.12.1" + "version": "2.12.2-alpha.1" } diff --git a/pyproject.toml b/pyproject.toml index 1f650759..a29f2140 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -97,7 +97,7 @@ packages = [ ] readme = "readme.md" repository = "https://github.com/atlas-bi/Hub" -version = "2.12.1" +version = "2.12.2-alpha.1" [tool.poetry.dependencies] Flask = "^2.0.1" diff --git a/web/web/admin.py b/web/web/admin.py index b54646cc..54cc38ea 100644 --- a/web/web/admin.py +++ b/web/web/admin.py @@ -37,7 +37,7 @@ def version() -> str: response = requests.get( "https://api.github.com/repos/atlas-bi/Hub/releases/latest", timeout=10 ) - upgrade_version = response.json()["name"] + upgrade_version = response.json()["name"].replace("v", "") except: # noqa: E722 pass