chore: simplify workflows and unify tool logging and mail presentation
Release / Validate Templates (push) Successful in 2m55s
Release / Package & Release (push) Skipped
Release / Remind to Update Release Documentation (push) Skipped

This commit is contained in:
KenanZhu committed 2026-10-10 14:54:40 +08:00
1 parent f4d96de79e
commit c93f2bf8b2
40 files changed
+523 -1515

No files matched your search

+2 -2
View File
@@ -1,8 +1,8 @@
package cli
import (
"fmt"
"gitea-mail-templates/tools/builder"
"gitea-mail-templates/tools/logging"
"gitea-mail-templates/tools/upstream"
"github.com/urfave/cli/v2"
"path/filepath"
@@ -26,7 +26,7 @@ func BuildCommand() *cli.Command {
if err := builder.Write(output, s, packages); err != nil {
return err
}
fmt.Printf("[PASS] Built %d themes for %s at %s\n", len(packages), s.Lock.Tag, output)
logging.Info("Builder", "Built %d themes for %s at %s", len(packages), s.Lock.Tag, output)
return nil
}}
}