Skip to content

Commit 101906a

Browse files
authored
fix: use cargo edit (#14)
1 parent 0e6d51e commit 101906a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ jobs:
2020
- name: Setup Rust
2121
uses: dtolnay/rust-toolchain@stable
2222

23+
- name: Install cargo-edit
24+
run: cargo install cargo-edit
25+
2326
- name: Setup Node.js
2427
uses: actions/setup-node@v4
2528
with:
@@ -29,9 +32,6 @@ jobs:
2932
run: |
3033
npm install -g semantic-release @semantic-release/git @semantic-release/exec @semantic-release/github conventional-changelog-conventionalcommits
3134
32-
- name: Install Taplo CLI
33-
run: npm install -g @taplo/cli
34-
3535
- name: Release
3636
env:
3737
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}

.releaserc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
[
4242
"@semantic-release/exec",
4343
{
44-
"prepareCmd": "taplo set Cargo.toml package.version ${nextRelease.version}"
44+
"prepareCmd": "cargo set-version ${nextRelease.version}"
4545
}
4646
],
4747
[

0 commit comments

Comments
 (0)