Skip to content

Commit

Permalink
ci: Don't mark subcrates as "latest" github releases (#1815)
Browse files Browse the repository at this point in the history
When creating a release, you can mark one as `latest` so it appears on
the left column of the main repository page.

This change makes it so only `hugr` gets marked as it (otherwise
`hugr-cli` always gets the spotlight).

Note that python releases are always marked as `latest`.
  • Loading branch information
aborgna-q authored Dec 18, 2024
1 parent d2d1267 commit 1f841ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions release-plz.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ pr_draft = true
# (This would normally only be enabled once there are multiple packages in the workspace)
git_tag_name = "{{ package }}-v{{ version }}"
git_release_name = "{{ package }}: v{{ version }}"
git_release_latest = false
pr_labels = ["release"]

# Only create releases / push to crates.io after merging a release-please PR.
Expand Down Expand Up @@ -42,6 +43,7 @@ name = "hugr"
changelog_include = ["hugr-core", "hugr-passes"]
release = true
version_group = "hugr"
git_release_latest = true

[[package]]
name = "hugr-core"
Expand Down

0 comments on commit 1f841ae

Please sign in to comment.