Skip to content

Commit

Permalink
chore: fix release-plz
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 6, 2025
1 parent 52ac62a commit dba7044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xtasks/release-plz
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ git config user.name mise-en-dev
git config user.email [email protected]

cur_version="$(cargo pkgid mise | cut -d# -f2)"
if ! cargo info mise | grep 'version:' | head -n1 | awk '{print $2}' | grep -q "$cur_version"; then
if ! curl https://crates.io/api/v1/crates/mise | jq -r '.versions[0].num' | grep -q "$cur_version"; then
echo "Releasing $cur_version"
cargo publish
changelog="$(git cliff --tag "v$cur_version" --strip all --unreleased)"
Expand Down

0 comments on commit dba7044

Please sign in to comment.