Skip to content

feat(#136): add crates.io publish to release workflow - #285

Merged
ajianaz merged 1 commit into
developfrom
feat/136-crates-io-publish-workflow
Jun 11, 2026
Merged

ajianaz merged 1 commit into
developfrom
feat/136-crates-io-publish-workflow

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 11, 2026

Copy link
Copy Markdown
Collaborator

Adds publish-crates job to release.yml that publishes all 3 crates to crates.io on tag push.

Workflow

  1. uteke-core (library, must be first)
  2. uteke-cli (binary)
  3. uteke-server (binary)

Uses CARGO_REGISTRY_TOKEN secret. Follows [email protected] pattern.

Prerequisites

Also

Closes #136

Adds a publish-crates job to release.yml that runs on v* tag push:
1. Publish uteke-core (library, must be first)
2. Publish uteke-cli (binary)
3. Publish uteke-server (binary)

Uses CARGO_REGISTRY_TOKEN secret (needs to be set in GitHub repo settings).
Follows [email protected] release workflow pattern.

Also moves issues #185 and #131 to v0.1.0 milestone.

Closes #136
@ajianaz ajianaz added the scope:core Core engine work label Jun 11, 2026
steps:
- uses: actions/checkout@v6

- uses: dtolnay/rust-toolchain@stable

- uses: dtolnay/rust-toolchain@stable

- name: Publish uteke-core
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

❌ Blocked — critical issues found.

🔴 Error (2)

  • .github/workflows/release.yml:128 — The new publish-crates job has no needs dependency on build-release, so it can start in parallel with artifact creation instead of only after the release build succeeds. This can publish uteke-core, uteke-cli, and uteke-server to crates.io even when the release artifacts fail to build, leaving crates.io and the GitHub release out of sync.
  • .github/workflows/release.yml:126 — The publish-crates job uses the sensitive secrets.CARGO_REGISTRY_TOKEN but does not declare a restrictive permissions block. In GitHub Actions, omitting job-level permissions can leave the default GITHUB_TOKEN scopes broader than necessary for this job, increasing blast radius if any step in the publish job is compromised.

Review powered by cora-cli · BYOK · MIT

@ajianaz
ajianaz merged commit 4394d32 into develop Jun 11, 2026
8 of 9 checks passed
@ajianaz
ajianaz deleted the feat/136-crates-io-publish-workflow branch June 11, 2026 09:24
ajianaz added a commit that referenced this pull request Aug 13, 2026
Adds a publish-crates job to release.yml that runs on v* tag push:
1. Publish uteke-core (library, must be first)
2. Publish uteke-cli (binary)
3. Publish uteke-server (binary)

Uses CARGO_REGISTRY_TOKEN secret (needs to be set in GitHub repo settings).
Follows [email protected] release workflow pattern.

Also moves issues #185 and #131 to v0.1.0 milestone.

Closes #136
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope:core Core engine work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

📦 [P2] Publish uteke to crates.io and PyPI

2 participants