Skip to content

Commit 2b52cb7

Browse files
v0.2.0-rc.1
1 parent 81c688f commit 2b52cb7

36 files changed

Lines changed: 113 additions & 108 deletions

File tree

.github/workflows/release.yml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- name: Run Datalog generators
1717
run: |
18-
cargo run --bin treeedbgen-souffle-bash --output treeedb-bash.dl --prefix sh
18+
cargo run --bin treeedbgen-souffle-bash -- --output treeedb-bash.dl --prefix sh
1919
cargo run --bin treeedbgen-souffle-c -- --output treeedb-c.dl --prefix c
2020
cargo run --bin treeedbgen-souffle-cpp -- --output treeedb-cpp.dl --prefix cpp
2121
cargo run --bin treeedbgen-souffle-crystal -- --output treeedb-crystal.dl --prefix crystal
@@ -57,16 +57,18 @@ jobs:
5757
- uses: ncipollo/release-action@v1
5858
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
5959
with:
60-
artifacts: "exe/treeedb-bash,exe/treeedb-c,exe/treeedb-cpp,exe/treeedb-crystal,exe/treeedb-csharp,exe/treeedb-java,exe/treeedb-javascript,exe/treeedb-perl,exe/treeedb-php,exe/treeedb-python,exe/treeedb-ruby,exe/treeedb-rust,exe/treeedb-swift,treeedb-bash.dl,treeedb-c.dl,treeedb-cpp.dl,treeedb-crystal.dl,treeedb-csharp.dl,treeedb-java.dl,treeedb-javascript.dl,treeedb-perl.dl,treeedb-php.dl,treeedb-python.dl,treeedb-ruby.dl,treeedb-rust.dl,treeedb-swift.dl"
60+
artifacts: "exe/treeedb-*,treeedb-*.dl"
6161
artifactErrorsFailBuild: true
6262
draft: true
6363
token: ${{ secrets.GITHUB_TOKEN }}
6464

65-
# TODO(#22):
66-
# - name: Publish to crates.io
67-
# env:
68-
# CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
69-
# # Only push on actual release tags
70-
# PUSH: ${{ startsWith(github.ref, 'refs/tags/v') }}
71-
# run: |
72-
# cargo publish
65+
- name: Publish to crates.io
66+
env:
67+
CRATES_IO_TOKEN: ${{ secrets.CRATES_IO_TOKEN }}
68+
PUSH: ${{ startsWith(github.ref, 'refs/tags/v') }}
69+
run: | # zizmor: ignore[use-trusted-publishing] TODO
70+
if [[ "${PUSH}" == true ]]; then
71+
cargo publish --token="${CRATES_IO_TOKEN}" --workspace --exclude treeedb-crystal --exclude treeedbgen-souffle-crystal
72+
else
73+
cargo publish --dry-run --token="${CRATES_IO_TOKEN}" --workspace --exclude treeedb-crystal --exclude treeedbgen-souffle-crystal
74+
fi

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@
22

33
<!-- https://keepachangelog.com/en/1.0.0/ -->
44

5-
## [Unreleased]
5+
## [0.2.0] - 2025-12-21
6+
7+
- Bump dependencies
8+
- Many more languages
69

710
## [0.1.0] - 2022-10-29
811

Cargo.lock

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/treeedb-bash/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeedb-bash"
3-
version = "0.1.0"
3+
version = "0.2.0-rc.1"
44
authors.workspace = true
55
license.workspace = true
66
edition.workspace = true
@@ -14,5 +14,5 @@ workspace = true
1414

1515
[dependencies]
1616
anyhow = "1.0"
17-
treeedb = { version = "0.1.0", path = "../treeedb", features = ["cli"] }
17+
treeedb = { version = "0.2.0-rc.1", path = "../treeedb", features = ["cli"] }
1818
tree-sitter-bash = { version = "0.25" }

crates/treeedb-c/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeedb-c"
3-
version = "0.1.0"
3+
version = "0.2.0-rc.1"
44
authors.workspace = true
55
license.workspace = true
66
edition.workspace = true
@@ -14,5 +14,5 @@ workspace = true
1414

1515
[dependencies]
1616
anyhow = "1.0"
17-
treeedb = { version = "0.1.0", path = "../treeedb", features = ["cli"] }
17+
treeedb = { version = "0.2.0-rc.1", path = "../treeedb", features = ["cli"] }
1818
tree-sitter-c = { version = "0.24" }

crates/treeedb-cpp/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "treeedb-cpp"
3-
version = "0.1.0"
3+
version = "0.2.0-rc.1"
44
authors.workspace = true
55
license.workspace = true
66
edition.workspace = true
@@ -14,5 +14,5 @@ workspace = true
1414

1515
[dependencies]
1616
anyhow = "1.0"
17-
treeedb = { version = "0.1.0", path = "../treeedb", features = ["cli"] }
17+
treeedb = { version = "0.2.0-rc.1", path = "../treeedb", features = ["cli"] }
1818
tree-sitter-cpp = { version = "^0.23" }

0 commit comments

Comments
 (0)