Skip to content

Commit

Permalink
ci: cargo publish on tag (#254)
Browse files Browse the repository at this point in the history
* ci: cargo publish on tag

Signed-off-by: xxchan <[email protected]>

* bump

Signed-off-by: xxchan <[email protected]>

---------

Signed-off-by: xxchan <[email protected]>
  • Loading branch information
xxchan authored Feb 17, 2025
1 parent 2003b1a commit 3a603d7
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 5 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,20 @@ jobs:
upload_url: ${{ needs.create-release.outputs.upload_url }}
asset_path: ${{ env.ASSET }}
asset_name: ${{ env.ASSET }}
asset_content_type: application/octet-stream
asset_content_type: application/octet-stream

cargo-publish:
name: cargo-publish
needs: build-release
runs-on: ubuntu-latest
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Install Rust
run: rustup show
- name: Cargo publish
run: |
cargo publish -p sqllogictest
cargo publish -p sqllogictest-engines
cargo publish -p sqllogictest-bin
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## Unreleased

## [0.27.1] - 2025-02-17

* runner: Add `Runner::set_var` method to allow adding runner-local variables for substitution.
* bin: Add `__DATABASE__` variable for accessing current database name from SLT files.

Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ resolver = "2"
members = ["sqllogictest", "sqllogictest-bin", "sqllogictest-engines", "tests"]

[workspace.package]
version = "0.27.0"
version = "0.27.1"
edition = "2021"
homepage = "https://github.com/risinglightdb/sqllogictest-rs"
keywords = ["sql", "database", "parser", "cli"]
Expand Down

0 comments on commit 3a603d7

Please sign in to comment.