Commit 52ec1be2 authored by Mustafa Gezen's avatar Mustafa Gezen
Browse files

Better detect stream branches

parent e9a5cae8
......@@ -103,7 +103,8 @@ async def queue_build(request: Request, body: Dict[str, BuildRequest], batch_bui
import_commits = await ImportCommit.filter(
for import_commit in import_commits:
if "-beta" not in import_commit.branch:
if "-stream" in import_commit.branch:
stream_branch_prefix = f"{settings.original_import_branch_prefix}{settings.version}-stream"
if import_commit.branch.startswith(stream_branch_prefix):
if body.get("ignore_modules"):
if package.part_of_module and not package.is_module:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment