Skip to content

Add release-plz workflow for publishing pinget-core to crates.io#13

Merged
Benoît Cortier (CBenoit) merged 5 commits intomasterfrom
copilot/publish-pinget-core
May 7, 2026
Merged

Add release-plz workflow for publishing pinget-core to crates.io#13
Benoît Cortier (CBenoit) merged 5 commits intomasterfrom
copilot/publish-pinget-core

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 7, 2026

Adds automated crate publishing via release-plz, mirroring the pattern used in IronRDP.

  • .github/workflows/release-crates.yml — Two-job workflow triggered on push to main/master and workflow_dispatch:

    • open-pr: runs release-plz release-pr to open version-bump PRs (uses DEVOLUTIONSBOT_WRITE_TOKEN, cratesio-publish environment)
    • release: runs release-plz release with OIDC auth via rust-lang/crates-io-auth-action@v1
    • Both jobs pass manifest-path and config since the Rust workspace lives under rust/
  • rust/release-plz.toml — Disables publish and release for pinget-cli and pinget-com so only pinget-core is published

  • rust/crates/pinget-core/Cargo.toml — Adds repository and readme fields (required crates.io metadata)

  • rust/crates/pinget-core/README.md — Adds a README with project overview, features, usage example, and license info for display on crates.io

Comment thread rust/release-plz.toml Outdated
Comment thread rust/release-plz.toml Outdated
Comment thread .github/workflows/release-crates.yml
@CBenoit
Copy link
Copy Markdown
Member

Copilot Also add a README.md file to pinget-core for crates.io

Copy link
Copy Markdown
Contributor Author

Copilot AI commented May 7, 2026

Copilot Also add a README.md file to pinget-core for crates.io

Added README.md with a project overview, features list, and usage example, plus set the readme field in Cargo.toml in 12376b8.

@CBenoit Benoît Cortier (CBenoit) merged commit 2734f20 into master May 7, 2026
4 checks passed
@CBenoit Benoît Cortier (CBenoit) deleted the copilot/publish-pinget-core branch May 7, 2026 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants