Update deps
This commit is contained in:
parent
1af24ccddd
commit
a57dd6237a
1 changed files with 10 additions and 0 deletions
|
|
@ -22,15 +22,25 @@ else
|
||||||
echo "Your working directory is clean."
|
echo "Your working directory is clean."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo "Bumping backend versions"
|
||||||
cd backend
|
cd backend
|
||||||
cargo set-version --bump patch
|
cargo set-version --bump patch
|
||||||
|
|
||||||
|
echo "Bumping frontend versions"
|
||||||
cd ../plugin
|
cd ../plugin
|
||||||
npm version patch
|
npm version patch
|
||||||
|
|
||||||
|
echo "Updating frontend dependencies to match the new backend versions"
|
||||||
|
npm install
|
||||||
|
|
||||||
cd ..
|
cd ..
|
||||||
cp plugin/manifest.json manifest.json # for BRAT, otherwise it wouldn't update
|
cp plugin/manifest.json manifest.json # for BRAT, otherwise it wouldn't update
|
||||||
|
|
||||||
|
# Commit and tag
|
||||||
git add .
|
git add .
|
||||||
TAG=$(node -p "require('./plugin/package.json').version")
|
TAG=$(node -p "require('./plugin/package.json').version")
|
||||||
git commit -m "Bump versions to $TAG"
|
git commit -m "Bump versions to $TAG"
|
||||||
|
|
||||||
git push
|
git push
|
||||||
echo "Tagging $TAG"
|
echo "Tagging $TAG"
|
||||||
git tag -a $TAG -m "Release $TAG"
|
git tag -a $TAG -m "Release $TAG"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue