Skip to content

Commit 7d236b2

Browse files
committed
fix ci: sed uses relative Cargo.toml (working-dir already src/cli)
1 parent a241048 commit 7d236b2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ jobs:
7676
7777
- name: Switch deps to crates.io versions
7878
run: |
79-
sed -i 's|quanttide-agent = { path = ".*" }|quanttide-agent = "0.1"|' src/cli/Cargo.toml
80-
sed -i 's|quanttide-data-core = { path = ".*" }|quanttide-data-core = "0.1"|' src/cli/Cargo.toml
79+
sed -i 's|quanttide-agent = { path = ".*" }|quanttide-agent = "0.1"|' Cargo.toml
80+
sed -i 's|quanttide-data-core = { path = ".*" }|quanttide-data-core = "0.1"|' Cargo.toml
8181
8282
- name: Publish qtcloud-data-cli
8383
run: cargo publish --allow-dirty --token ${{ secrets.CRATES_API_TOKEN }}

src/cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "qtcloud-data-cli"
3-
version = "0.1.7"
3+
version = "0.1.8"
44
edition = "2024"
55
authors = ["QuantTide Inc. <opensource@quanttide.com>"]
66
description = "量潮数据云 CLI"

0 commit comments

Comments
 (0)