File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,5 +22,5 @@ keywords:
2222 - management
2323 - integration
2424license : Apache-2.0
25- version : 26.01.2b5
25+ version : 26.01.2b6
2626date-released : " 2026-01-15"
Original file line number Diff line number Diff line change 33import uuid
44from pathlib import Path
55
6- TEMPLATE_BASE_URL = "https://s3.eu-central-3.ionoscloud.com/portabase-software/cli/public/templates/ "
6+ TEMPLATE_BASE_URL = "https://s3.eu-central-3.ionoscloud.com/portabase-software/cli/public/templates"
77GLOBAL_CONFIG_DIR = Path .home () / ".portabase"
88GLOBAL_CONFIG_FILE = GLOBAL_CONFIG_DIR / "config.json"
99
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ def fetch_template(filename: str) -> str:
1313 try :
1414 with console .status (f"[dim]Fetching template from { url } ...[/dim]" ):
1515 response = requests .get (url , timeout = 10 )
16- if response .status_code == 404 and version != "unknown" :
16+ if response .status_code in [ 403 , 404 ] and version != "unknown" :
1717 url = f"{ TEMPLATE_BASE_URL } /latest/{ filename } "
1818 response = requests .get (url , timeout = 10 )
1919
Original file line number Diff line number Diff line change 11[project ]
22name = " portabase-cli"
3- version = " 26.01.2b5 "
3+ version = " 26.01.2b6 "
44description = " The official command line interface (CLI) for managing and deploying Portabase instances with ease."
55readme = " README.md"
66requires-python = " >=3.12"
You can’t perform that action at this time.
0 commit comments