From a57dd6237aa99ebd2cd704c36d3d7e674c3219c3 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Sun, 5 Jan 2025 21:19:15 +0000 Subject: [PATCH] Update deps --- bump-version.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bump-version.sh b/bump-version.sh index cc91e720..902b487c 100755 --- a/bump-version.sh +++ b/bump-version.sh @@ -22,15 +22,25 @@ else echo "Your working directory is clean." fi +echo "Bumping backend versions" cd backend cargo set-version --bump patch + +echo "Bumping frontend versions" cd ../plugin npm version patch + +echo "Updating frontend dependencies to match the new backend versions" +npm install + cd .. cp plugin/manifest.json manifest.json # for BRAT, otherwise it wouldn't update + +# Commit and tag git add . TAG=$(node -p "require('./plugin/package.json').version") git commit -m "Bump versions to $TAG" + git push echo "Tagging $TAG" git tag -a $TAG -m "Release $TAG"