main v1.5.8
orestonce 2022-08-03 09:58:02 +08:00
parent abb9d22b67
commit d2e9e4faeb
2 changed files with 5 additions and 3 deletions

View File

@ -46,6 +46,6 @@ jobs:
$env:Path="$PWD\qt-static\Qt5.6.3-Windows-x86-MinGW4.9.4-staticFull-20200104\bin;$PWD\qt-static\mingw32\bin;$env:Path"
qt-static\Qt5.6.3-Windows-x86-MinGW4.9.4-staticFull-20200104\QQtPatcher.exe
go mod tidy
go run export/main.go
go run export/main.go check-only
cd m3u8d-qt && qmake && mingw32-make release && cd ..
dir m3u8d-qt\release\m3u8d-qt.exe

View File

@ -20,9 +20,11 @@ func main() {
WriteVersionDotRc("1.5.6")
} else { // github actions 编译
CreateLibForQtUi(false)
if len(os.Args)<=1 || os.Args[1] != "check-only" {
version := strings.TrimPrefix(os.Getenv("GITHUB_REF_NAME"), "v")
WriteVersionDotRc(version)
}
}
}
func BuildCliBinary() {