constants: rename %branch% URL marker to %kupfer_branch% and give it its own constant

This commit is contained in:
InsanePrawn 2023-03-27 18:46:50 +02:00
parent 4517201118
commit f3c53e449b
2 changed files with 4 additions and 3 deletions

View file

@ -39,7 +39,8 @@ REPOSITORIES = [
]
DEFAULT_PACKAGE_BRANCH = 'dev'
KUPFER_HTTPS_BASE = 'https://gitlab.com/kupfer/packages/prebuilts/-/raw/%branch%'
KUPFER_BRANCH_MARKER = '%kupfer_branch%'
KUPFER_HTTPS_BASE = f'https://gitlab.com/kupfer/packages/prebuilts/-/raw/{KUPFER_BRANCH_MARKER}'
KUPFER_HTTPS = KUPFER_HTTPS_BASE + '/$arch/$repo'
Arch: TypeAlias = str