From 0b5a865751a8b55837360a1c0744725aeb5f9422 Mon Sep 17 00:00:00 2001 From: Test User Date: Mon, 20 Jan 2025 23:47:15 +0700 Subject: [PATCH] chore: fix the release script --- scripts/make-release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/make-release.sh b/scripts/make-release.sh index 4943f94..633b8b5 100755 --- a/scripts/make-release.sh +++ b/scripts/make-release.sh @@ -45,14 +45,14 @@ echo "Bumping version to: $NEW_VERSION" # 4. Generate/Update CHANGELOG using cargo-cliff # Make sure cargo-cliff is installed (cargo install cargo-cliff) -cargo cliff --tag "v${NEW_VERSION}" --output CHANGELOG.md +git cliff --tag "v${NEW_VERSION}" --output CHANGELOG.md # 5. Update Cargo.toml sed -i.bak "s/^version *= *\"${CURRENT_VERSION}\"/version = \"${NEW_VERSION}\"/" Cargo.toml rm -f Cargo.toml.bak # 6. Update Cargo.lock (so that if your package references itself, it's updated) -cargo update -p "$(cargo pkgid | sed 's|.*#||')" +cargo update -p yek # 7. Commit changes git add Cargo.toml Cargo.lock CHANGELOG.md