Skip to content

Commit

Permalink
Configure CI/metadata for the new package
Browse files Browse the repository at this point in the history
  • Loading branch information
aborgna-q committed May 24, 2024
1 parent 40ce748 commit 0f64d28
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 13 deletions.
4 changes: 1 addition & 3 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,4 @@

# The release PRs that trigger publication to crates.io or PyPI always modify the changelog.
# We require those PRs to be approved by someone with release permissions.
hugr/CHANGELOG.md @aborgna-q @cqc-alec @ss2165
hugr-passes/CHANGELOG.md @aborgna-q @cqc-alec @ss2165
hugr-py/CHANGELOG.md @aborgna-q @cqc-alec @ss2165
**/CHANGELOG.md @aborgna-q @cqc-alec @ss2165
2 changes: 1 addition & 1 deletion .github/change-filters.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

rust:
- "hugr/**"
- "hugr-passes/**"
- "hugr-*/**"
- "Cargo.toml"
- "specification/schema/**"

Expand Down
2 changes: 2 additions & 0 deletions hugr-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ hugr-core
[![msrv][]](https://github.com/CQCL/hugr)
[![codecov][]](https://codecov.io/gh/CQCL/hugr)

Internal core definitions for the `hugr` package.

The Hierarchical Unified Graph Representation (HUGR, pronounced _hugger_) is the
common representation of quantum circuits and operations in the Quantinuum
ecosystem.
Expand Down
22 changes: 13 additions & 9 deletions release-plz.toml
Original file line number Diff line number Diff line change
@@ -1,32 +1,36 @@
# Automatic changelog generation for rust projects

[workspace]
# Disable processing the packages by default
release = false

# Open the release PR as a draft
pr_draft = true

# Use a custom git-cliff configuration
changelog_config = "cliff.toml"

# Disable the changelog generation by default
changelog_update = false

# Enforce adding the project name in the git tag, to avoid collisions with python.
# (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 }}"

[[package]]
name = "hugr"
release = true

[[package]]
name = "hugr-core"
release = true

# Enable the changelog for this package
changelog_update = true
# Disabled until the first version is manually published
publish = false
github_release = false

[[package]]
name = "hugr-passes"

# Enable the changelog for this package
changelog_update = true
release = true

# Disabled until the first version is manually published
publish = false
github_release = false

0 comments on commit 0f64d28

Please sign in to comment.