Skip to content

Commit 97f6f4f

Browse files
committed
chore: set-version
1 parent d9f24e2 commit 97f6f4f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

xtasks/release-plz

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ cur_version="$(cargo pkgid mise | cut -d# -f2)"
88
latest_version="$(cargo info --registry "crates-io" --color never --quiet mise | grep "^version:" | cut -d' ' -f2)"
99
if [[ $cur_version != "$latest_version" ]]; then
1010
echo "Releasing $cur_version"
11+
cargo set-version "$cur_version" --workspace
12+
cargo publish --allow-dirty -p vfox
13+
cargo publish --allow-dirty -p mise
1114
changelog="$(git cliff --tag "v$cur_version" --strip all --unreleased)"
1215
changelog="$(echo "$changelog" | tail -n +3)"
13-
cargo set-version "$cur_version" --workspace
14-
git add Cargo.lock crates/vfox/Cargo.toml
15-
git commit --amend --no-edit
16-
cargo release -x --no-confirm --workspace --sign
16+
git tag "v$cur_version" -s -m "$changelog"
1717
git push --tags
1818
gh release create "v$cur_version" --title "v$cur_version" --notes "$changelog" --draft
1919
exit 0

0 commit comments

Comments
 (0)