Update highlighter logic, add release scripts, and bump version to 1.3.6.
Some checks failed
Release / Bump Homebrew formula (push) Has been cancelled
Release / Build Linux amd64 (push) Has been cancelled
Release / Build Linux arm64 (push) Has been cancelled
Release / Build macOS arm64 (.app) (push) Has been cancelled
Release / Create GitHub Release (push) Has been cancelled
Some checks failed
Release / Bump Homebrew formula (push) Has been cancelled
Release / Build Linux amd64 (push) Has been cancelled
Release / Build Linux arm64 (push) Has been cancelled
Release / Build macOS arm64 (.app) (push) Has been cancelled
Release / Create GitHub Release (push) Has been cancelled
- Refined cached state validation in `HighlighterEngine` to ensure row validity and buffer consistency. - Added `make-release` and `make-app-release` scripts for streamlined release builds. - Disabled AddressSanitizer (ASAN) by default. - Version bump to 1.3.6.
This commit is contained in:
26
make-release
Executable file
26
make-release
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/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
|
||||
|
||||
( ./make-app-release )
|
||||
Reference in New Issue
Block a user