42639ac600
The previous sed expression had \${prefix} in a double-quoted string,
which bash was expanding to a literal prefix variable lookup. With
`set -euo pipefail` and unbound variables causing exit, the entire
script aborted right after `make install-shared`, before ldconfig
and the sanity check ran.
Use single quotes around the sed expression so bash leaves the
\${prefix} alone for sed to interpret.
Discovered via:
scripts/ci/build-rocksdb.sh: line 57: prefix: unbound variable
Version Bump Script
Updates the version number across all files in the repo from a single command.
Usage
Set a specific version:
bash scripts/bump-version.sh 5.7.0
Or edit src/clientversion.h first, then sync everything else:
bash scripts/bump-version.sh
What it updates
src/clientversion.h(source of truth)src/version.htriangles-qt.proDockerfile- All packaging manifests (Docker, Snap, Scoop, WinGet, RPM, Flatpak, Debian, AppImage)
What still needs manual review after running
packaging/appstream/...metainfo.xml— add a new<release>entryREADME.md— update header version if desired- Any documentation with download URLs