mirror of
https://github.com/kiwix/kiwix-build.git
synced 2025-04-24 22:57:07 -04: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:
parent
ae8a9febb9
commit
040171129a
2 changed files with 2 additions and 2 deletions
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",
|
||||
|
|
2
.github/workflows/releaseNigthly.yml
vendored
2
.github/workflows/releaseNigthly.yml
vendored
|
@ -3,7 +3,7 @@ name: Release&Nigthly
|
|||
on:
|
||||
push:
|
||||
tags:
|
||||
- r_[0-9]+i
|
||||
- r_[0-9]+
|
||||
schedule:
|
||||
- cron: '0 1 * * *'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue