feat(monero): Remote node load balancing (#420)

This commit is contained in:
Mohan 2025-06-19 01:35:34 +02:00 committed by GitHub
parent a201c13b5d
commit ff5e1c02bc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 4537 additions and 154 deletions

26
dev_scripts/bump-version.sh Executable file
View file

@ -0,0 +1,26 @@
#!/bin/bash
set -eu
if [ "$#" -ne 1 ]; then
echo "Usage: $0 <version>"
exit 1
fi
VERSION=$1
TODAY=$(date +%Y-%m-%d)
echo "Bumping version to $VERSION"
# Using sed and assuming GNU sed syntax as this is for the github workflow.
# Update version in tauri.conf.json
sed -i 's/"version": "[^"]*"/"version": "'"$VERSION"'"/' src-tauri/tauri.conf.json
# Update version in Cargo.toml files
sed -i -E 's/^version = "[0-9]+\.[0-9]+\.[0-9]+"/version = "'"$VERSION"'"/' swap/Cargo.toml src-tauri/Cargo.toml
# Update changelog
sed -i "s/^## \\[Unreleased\\]/## [$VERSION] - $TODAY/" CHANGELOG.md
# Add a new [Unreleased] section at the top
sed -i '3i## [Unreleased]\n' CHANGELOG.md
echo "Updated all files to version $VERSION."