Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make nigthly CD build and publish only "publishable" project. #745

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/scripts/build_release_nightly.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,15 @@
from build_definition import select_build_targets, BUILD, PUBLISH, SOURCE_PUBLISH


# Filter what to build if we are doing a release.
if MAKE_RELEASE:
TARGETS = select_build_targets(PUBLISH)
def release_filter(project):
return release_versions.get(project) is not None

def release_filter(project):
return release_versions.get(project) is not None

# Filter what to build if we are doing a release.
TARGETS = select_build_targets(PUBLISH)

if MAKE_RELEASE:
TARGETS = tuple(filter(release_filter, TARGETS))
else:
TARGETS = select_build_targets(BUILD)

for target in TARGETS:
run_kiwix_build(target, config=COMPILE_CONFIG, make_release=MAKE_RELEASE)
Expand Down
Loading