This commit is contained in:
Andras Schmelczer 2025-07-12 12:59:26 +01:00
parent fc19e650ca
commit 0f441e38d8
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C
24 changed files with 553 additions and 68 deletions

View file

@ -22,22 +22,14 @@ else
echo "Your working directory is clean."
fi
echo "Bumping backend versions"
cd backend
echo "Bumping sync-server versions"
cd sync-server
cargo set-version --bump $1
echo "Bumping frontend versions"
cd ../frontend
npm version $1 --workspaces
echo "Updating frontend dependencies to match the new backend versions"
cd ../backend/sync_lib
wasm-pack build --target web --features console_error_panic_hook
cd ../../frontend
npm install
cd ..
cp frontend/obsidian-plugin/manifest.json manifest.json # for BRAT, otherwise it wouldn't update
# Commit and tag

View file

@ -1,4 +1,4 @@
#!/bin/bash
rm -rf backend/databases
rm -rf sync-server/databases
rm -rf logs

View file

@ -2,10 +2,10 @@
set -e
rm -rf backend/sync_server/bindings
rm -rf sync-server/bindings
cd backend
cd sync-server
cargo test export_bindings
cd -
cp -r backend/sync_server/bindings/* frontend/sync-client/src/services/types/
cp -r sync-server/bindings/* frontend/sync-client/src/services/types/