Files
triangles_v5/scripts
Krystie 42639ac600 ci: fix bash variable expansion in sed pattern
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
2026-06-27 16:55:24 -07:00
..
2026-04-29 16:48:16 -07:00

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.h
  • triangles-qt.pro
  • Dockerfile
  • 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> entry
  • README.md — update header version if desired
  • Any documentation with download URLs