Skip to content

Commit

Permalink
chore: remove cargo-show dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Jan 5, 2025
1 parent 69d44fd commit ab8e9e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ bun = "1.1.42"
cargo-binstall = "1.10.17"
"cargo:cargo-edit" = "latest"
"cargo:cargo-insta" = "latest"
"cargo:cargo-show" = { version = "latest", os = ["linux", "macos"] }
"cargo:git-cliff" = "latest"
"cargo:toml-cli" = "latest"
"cargo:usage-cli" = { version = "latest", os = ["linux", "macos"] }
Expand Down
5 changes: 1 addition & 4 deletions xtasks/release-plz
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ set -euxo pipefail
git config user.name mise-en-dev
git config user.email release@mise.jdx.dev

mise uninstall cargo:cargo-show
cargo install cargo-show

cur_version="$(cargo pkgid mise | cut -d# -f2)"
if ! cargo show mise --json | jq -r '.versions.[].num' | grep -q "^$cur_version$"; then
if ! "cargo info mise | grep 'version:' | head -n1 | awk '{print \$2}'" | 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 ab8e9e9

Please sign in to comment.