Skip to content

Commit

Permalink
update version
Browse files Browse the repository at this point in the history
  • Loading branch information
sundy-li committed Mar 20, 2024
1 parent 679a232 commit 2a5cc3e
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Publish

on:
push:
branches:
- main
paths:
- "Cargo.toml"

jobs:
crates:
runs-on: ubuntu-latest
environment:
name: crates.io
url: https://crates.io/crates/databend-driver
steps:
- uses: actions/checkout@v4
- name: Setup Rust toolchain
uses: ./.github/actions/setup
with:
cache-key: publish
- name: Setup Cargo Release
run: |
cargo install cargo-quickinstall
cargo quickinstall cargo-release
- name: Release to crates.io
env:
CARGO_REGISTRY_TOKEN: ${{ secrets.CARGO_REGISTRY_TOKEN }}
run: |
cargo release publish --execute --no-confirm
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ repository = "https://github.com/sundy-li/arrow_cli"
edition = "2021"
license = "Apache-2.0"
name = "arrow_cli"
version = "0.0.4"
version = "0.1.0"

[dependencies]
shlex = "1.1.0"
Expand Down

0 comments on commit 2a5cc3e

Please sign in to comment.