Files
kte/make-release
Kyle Isom 23f04e4357 Add proportional fonts, edit modes, and TOML config
- Add three proportional serif fonts: Crimson Pro, ET Book, Spectral
- Fix text rendering for variable-width fonts: selection, cursor,
  mouse click mapping, search highlights, and syntax-colored text
  now use pixel-accurate measurement via ImGui::CalcTextSize()
- Add per-buffer edit mode (code/writing) with auto-detection from
  file extension (.txt, .md, .rst, .org, .tex default to writing)
- Add C-k m keybinding and :mode command to toggle edit modes
- Switch config format from INI to TOML (kge.toml), with legacy
  INI fallback; vendor toml++ v3.4.0
- New config keys: font.code and font.writing for per-mode defaults
- Add font tab completion for ImGui builds
- Add tab completion for :mode command
- Update help text, themes.md, and add CONFIG.md
- Bump version to 1.10.0

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 23:05:56 -07:00

27 lines
526 B
Bash
Executable File

#!/usr/bin/env bash
set -eu
set -o pipefail
KTE_VERSION=$(grep 'KTE_VERSION' CMakeLists.txt | grep -o '"[0-9.]*"' | tr -d '"')
KTE_VERSION="v${KTE_VERSION}"
if [ "${KTE_VERSION}" = "v" ]
then
echo "invalid version" > /dev/stderr
exit 1
fi
echo "kte version ${KTE_VERSION}"
TREE="$(git status --porcelain --untracked-files=no)"
if [ ! -z "${TREE}" ]
then
echo "tree is dirty" > /dev/stderr
exit 1
fi
git tag "${KTE_VERSION}"
git push && git push --tags
git push github && git push github --tags
( ./make-app-release )