Skip to content

Commit cd51bee

Browse files
committed
fix: fix cd bug
1 parent 9b489ad commit cd51bee

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/cd.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ jobs:
1818
- name: Update version from tag
1919
run: |
2020
VERSION=${GITHUB_REF#refs/tags/v}
21-
sed -i "s/^version = .*/version = \"$VERSION\"/" Cargo.toml
21+
echo $VERSION
22+
sed -i 's/^version = .*/version = "'$VERSION'"/' Cargo.toml
2223
2324
- name: Publish to crates.io
2425
run: cargo publish --token ${{ secrets.CARGO_TOKEN }}

0 commit comments

Comments
 (0)