File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,12 +8,12 @@ cur_version="$(cargo pkgid mise | cut -d# -f2)"
88latest_version=" $( cargo info --registry " crates-io" --color never --quiet mise | grep " ^version:" | cut -d' ' -f2) "
99if [[ $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
You can’t perform that action at this time.
0 commit comments