Refine autoupdate config handling
This commit is contained in:
parent
bcef2d7b52
commit
71598cda7d
3 changed files with 109 additions and 10 deletions
|
|
@ -1,12 +1,7 @@
|
|||
from autoupdate import ensure_updated
|
||||
from autoupdate import ensure_updated_from_config
|
||||
|
||||
ensure_updated(
|
||||
base_url="http://127.0.0.1:8080",
|
||||
api_key="upsk_zdQu4gosIJjvIaQfn5A_ux9msFyDfEnc8c29F0ZCTmk",
|
||||
project_slug="test",
|
||||
current_version="0.1.3",
|
||||
)
|
||||
ver = "0.1.1"
|
||||
|
||||
ensure_updated_from_config(current_version=ver)
|
||||
|
||||
|
||||
print("TEst")
|
||||
print(f"TEst {ver}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue