Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .github/workflows/rust-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
publish:
name: Publish Kora crates to crates.io
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- name: Guard main branch for release publish
run: |
Expand Down Expand Up @@ -89,8 +92,6 @@ jobs:
run: |
echo "📦 Publishing kora-lib@${{ steps.version.outputs.version }} to crates.io..."
cargo publish -p kora-lib --locked
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.KORA_CLI_REGISTRY_TOKEN }}
- name: Wait for kora-lib to be available on crates.io
if: ${{ github.event.inputs.publish-kora-lib == 'true' }}
Expand All @@ -103,8 +104,6 @@ jobs:
run: |
echo "📦 Publishing kora-cli@${{ steps.version.outputs.version }} to crates.io..."
cargo publish -p kora-cli --locked
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.KORA_CLI_REGISTRY_TOKEN }}
- name: Create GitHub Release
if: ${{ github.event.inputs.create-github-release == 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ Kora uses synchronized versioning where all workspace crates share the same vers
- Both crates published together in dependency order

**GitHub Secrets Required:**
- `KORA_CLI_REGISTRY_TOKEN` - crates.io API token for publishing
- None — publishing uses crates.io trusted publishing via GitHub Actions OIDC (no API token needed)

### Claude Skill: Full Release Automation

Expand Down
Loading