mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-06-26 10:11:27 +00:00
Fix release tag format.
The release tag format change to a classic tag triplet format `\d.\d.\d` to a custom one `r_\d`.
This commit is contained in:
2
.github/scripts/common.py
vendored
2
.github/scripts/common.py
vendored
@ -34,7 +34,7 @@ KBUILD_SOURCE_DIR = HOME / "kiwix-build"
|
||||
KIWIX_DESKTOP_ONLY = False
|
||||
|
||||
_ref = _environ.get("GITHUB_REF", "").split("/")[-1]
|
||||
MAKE_RELEASE = re.fullmatch(r"[0-9]+\.[0-9]+\.[0-9]+", _ref) is not None
|
||||
MAKE_RELEASE = re.fullmatch(r"r_[0-9]+", _ref) is not None
|
||||
|
||||
PLATFORM_TO_RELEASE = {
|
||||
"native_mixed": "linux-x86_64",
|
||||
|
Reference in New Issue
Block a user