Skip to content
Open
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
15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,18 @@ jobs:
artifacts/**/*
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

publish-crates:
name: Publish to crates.io
needs: release
runs-on: ubuntu-latest
# Only publish stable releases (not alpha/beta/rc)
if: ${{ !contains(github.ref, '-rc') && !contains(github.ref, '-beta') && !contains(github.ref, '-alpha') }}
steps:
- uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@stable

- name: Publish to crates.io
run: cargo publish --token ${{ secrets.CRATES_IO_TOKEN }}
5 changes: 5 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ version = "0.1.0"
edition = "2021"
description = "Semantic code analyzer with TOON output"
license = "MIT"
repository = "https://github.com/Semfora-AI/semfora-engine"
homepage = "https://github.com/Semfora-AI/semfora-engine"
readme = "README.md"
keywords = ["semantic-analysis", "code-analysis", "mcp", "ai", "tree-sitter"]
categories = ["development-tools", "command-line-utilities"]

[[bin]]
name = "semfora-engine"
Expand Down
Loading