chore: sync Gitea 28.2.0 inputs and compatibility docs
Validate / Validate (push) Successful in 7m58s

This commit is contained in:
KenanZhu committed 2026-10-21 17:16:36 +08:00
1 parent d99c5d1dc5
commit 85ee9dbdbf
8 files changed
+29 -15

No files matched your search

+2 -2
View File
@@ -12,7 +12,7 @@ func TestSnapshotAndKeys(t *testing.T) {
if err != nil {
t.Fatal(err)
}
if s.Lock.Tag != "v28.1.0" || len(s.Templates) != 13 || len(s.Locales) != 28 {
if s.Lock.Tag != "v28.2.0" || len(s.Templates) != 13 || len(s.Locales) != 28 {
t.Fatalf("unexpected baseline %s", s.Lock.Tag)
}
keys, err := ReferencedKeys(s)
@@ -32,7 +32,7 @@ func TestSnapshotAndKeys(t *testing.T) {
if ValidateKeys(s) == nil {
t.Fatal("missing English key accepted")
}
if !validTag("v28.0.0") || validTag("v1.27.3") || validTag("v28.1.0-rc1") {
if !validTag("v28.0.0") || !validTag("v28.2.0") || validTag("v1.27.3") || validTag("v28.2.0-rc1") {
t.Fatal("tag policy")
}
for _, p := range []string{"../x", "/x", "C:/x", "mail\\x"} {