fix: remove update version file workflows have new line in 3.8.3-patch branch. (#3452)

This commit is contained in:
Monet Lee
2025-07-09 17:27:59 +08:00
committed by GitHub
parent 1b6d70e4a7
commit 54e189d80f
2 changed files with 57 additions and 34 deletions
+9 -1
View File
@@ -1,6 +1,14 @@
package version
import _ "embed"
import (
_ "embed"
"strings"
)
//go:embed version
var Version string
func init() {
Version = strings.Trim(Version, "\n")
Version = strings.TrimSpace(Version)
}