Skip to content

Commit

Permalink
Merge pull request #45 from release-engineering/beta
Browse files Browse the repository at this point in the history
Community: Allow using beta from push item
  • Loading branch information
JAVGan authored Sep 3, 2024
2 parents df6fddf + 0a3b8c9 commit e26315a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/pubtools/_marketplacesvm/tasks/community_push/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,10 @@ def enrich_mapped_items(self, mapped_items: List[MappedVMIPushItem]) -> List[Enr

pi = mapped_item.get_push_item_for_marketplace(storage_account)
log.debug("Mapped push item for %s: %s", storage_account, pi)
beta = self.args.beta or str(pi.release.type) == "beta"

for dest in destinations:
epi = enrich_push_item(
pi, dest, beta=self.args.beta, require_bc=self._REQUIRE_BC
)
epi = enrich_push_item(pi, dest, beta=beta, require_bc=self._REQUIRE_BC)
log.debug("Enriched push item for %s: %s", storage_account, epi)

# SAP and RHEL-HA images are expected to be
Expand Down

0 comments on commit e26315a

Please sign in to comment.