Skip to content

Commit 3a603d7

Browse files
authored
ci: cargo publish on tag (#254)
* ci: cargo publish on tag Signed-off-by: xxchan <xxchan22f@gmail.com> * bump Signed-off-by: xxchan <xxchan22f@gmail.com> --------- Signed-off-by: xxchan <xxchan22f@gmail.com>
1 parent 2003b1a commit 3a603d7

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

.github/workflows/release.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,20 @@ jobs:
119119
upload_url: ${{ needs.create-release.outputs.upload_url }}
120120
asset_path: ${{ env.ASSET }}
121121
asset_name: ${{ env.ASSET }}
122-
asset_content_type: application/octet-stream
122+
asset_content_type: application/octet-stream
123+
124+
cargo-publish:
125+
name: cargo-publish
126+
needs: build-release
127+
runs-on: ubuntu-latest
128+
env:
129+
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
130+
steps:
131+
- uses: actions/checkout@v4
132+
- name: Install Rust
133+
run: rustup show
134+
- name: Cargo publish
135+
run: |
136+
cargo publish -p sqllogictest
137+
cargo publish -p sqllogictest-engines
138+
cargo publish -p sqllogictest-bin

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
## [0.27.1] - 2025-02-17
11+
1012
* runner: Add `Runner::set_var` method to allow adding runner-local variables for substitution.
1113
* bin: Add `__DATABASE__` variable for accessing current database name from SLT files.
1214

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ resolver = "2"
33
members = ["sqllogictest", "sqllogictest-bin", "sqllogictest-engines", "tests"]
44

55
[workspace.package]
6-
version = "0.27.0"
6+
version = "0.27.1"
77
edition = "2021"
88
homepage = "https://github.com/risinglightdb/sqllogictest-rs"
99
keywords = ["sql", "database", "parser", "cli"]

0 commit comments

Comments
 (0)