refactor(ci): use marker comments instead of regex for tracker workflow

Add TRACKER: HTML comment markers to COMPATIBILITY.md, README.md, and
all 5 translation READMEs. Rewrite gitea-tracker.yml to use grep -n
for precise line-based insertion and sed line-address editing.

Markers introduced:
- TRACKER:QUICK-REF-MAX  — Quick Reference max tested version
- TRACKER:VERSION-INSERT — Version History row insertion point
- TRACKER:LATEST-VERIFIED — latest verified note version
- TRACKER:BADGE — shields.io badge version
- TRACKER:LATEST-TESTED — latest tested version in READMEs

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
KenanZhuandClaude committed 2026-06-23 10:34:43 +08:00
1 parent 41caba06c0
commit 5648f73d45
8 files changed
+43 -31

No files matched your search

+3 -1
View File
@@ -6,9 +6,10 @@ This document tracks the compatibility between **Gitea Mail Templates** releases
| Template Release | Min Gitea | Max Tested Gitea | Status |
|-----------------|-----------|-----------------|--------|
<!-- TRACKER:QUICK-REF-MAX -->
| **v1.0.x** | **1.25.0** | **1.26.4** | ✅ Active |
> **Latest verified:** All 11 templates pass validation against Gitea 1.26.4 data contexts.
> **Latest verified:** All 11 templates pass validation against Gitea 1.26.4 data contexts. <!-- TRACKER:LATEST-VERIFIED -->
## Check Your Gitea Version
@@ -20,6 +21,7 @@ gitea --version
## Gitea Version History — Mail Template Impact
<!-- TRACKER:VERSION-INSERT -->
| Gitea | Release Date | Mail Template Changes | Breaking? |
|-------|-------------|----------------------|-----------|
| **1.26.4** | 2026-06-21 | None — hotfix release | No |