Skip to content

Commit

Permalink
Merge pull request #4 from galaxyproject/ignore_commit_without_pr
Browse files Browse the repository at this point in the history
Ignore commit without PR
  • Loading branch information
mvdbeek authored Oct 24, 2023
2 parents 410d6b7 + 3ff30fa commit e32a700
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion galaxy_release_util/point_release.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ def commits_to_prs(packages: List[Package]):
pr_cache[pr.number] = pr
commit_to_pr[commit] = pr_cache[pr.number]
for package in packages:
package.prs = set(commit_to_pr[commit] for commit in package.commits)
# Exclude commits without PRs
package.prs = set(commit_to_pr[commit] for commit in package.commits if commit in commit_to_pr)


def update_package_history(package: Package, new_version: Version):
Expand Down

0 comments on commit e32a700

Please sign in to comment.