Update main.go

main v1.5.7
orestonce 2022-08-03 08:54:47 +08:00 committed by GitHub
parent b65b09f7e7
commit 11d1f75377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -19,6 +19,7 @@ func main() {
CreateLibForQtUi(true) // 创建Qt需要使用的.a库文件
WriteVersionDotRc("1.5.6")
} else { // github actions 编译
CreateLibForQtUi(false)
version := strings.TrimPrefix(os.Getenv("GITHUB_REF_NAME"), "v")
WriteVersionDotRc(version)
}