Files
triangles_v5/scripts
Krystie b7e7f56a30 ci: scrub rocksdb.pc of relative include path
RocksDB's Makefile unconditionally appends `-isystem third-party/
gtest-1.8.1/fused-src` to the generated rocksdb.pc Cflags. That path
is relative to the build directory, so when the installed .pc file
ends up in /usr/local/lib/pkgconfig/, Triangles' CMake configure
errors out with:

  CMake Error in src/CMakeLists.txt:
    Imported target 'PkgConfig::RocksDB' includes non-existent path
      'third-party/gtest-1.8.1/fused-src'

Modern CMake (>= 3.27) refuses imported targets with relative paths
in INTERFACE_INCLUDE_DIRECTORIES. Replace the bad flag with an
absolute path to the installed include dir so pkg-config consumers
get a real on-disk path.

Discovered while debugging the second CI failure on PR #10
(Configure succeeded but generation failed because PkgConfig::RocksDB
referenced a path that didn't exist).
2026-06-27 16:41:30 -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