diff --git a/build-releases-mac-amd.bat b/build-releases-mac-amd.bat index a26a28f..0b4b767 100644 --- a/build-releases-mac-amd.bat +++ b/build-releases-mac-amd.bat @@ -2,4 +2,4 @@ SET CGO_ENABLED=1 SET GOOS=darwin SET GOARCH=amd64 SET GIN_MODE=release -go build -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20250928 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.3.16 -s -w" -o %cd%/release/SamWafDarwinAmd64.exe main.go \ No newline at end of file +go build -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20251103 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.3.17 -s -w" -o %cd%/release/SamWafDarwinAmd64.exe main.go \ No newline at end of file diff --git a/build-releases-mac-arm.bat b/build-releases-mac-arm.bat index be302ff..601223a 100644 --- a/build-releases-mac-arm.bat +++ b/build-releases-mac-arm.bat @@ -2,4 +2,4 @@ SET CGO_ENABLED=1 SET GOOS=darwin SET GOARCH=arm64 SET GIN_MODE=release -go build -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20250928 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.3.16 -s -w" -o %cd%/release/SamWafDarwinArm64.exe main.go \ No newline at end of file +go build -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20251103 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.3.17 -s -w" -o %cd%/release/SamWafDarwinArm64.exe main.go \ No newline at end of file diff --git a/build-releases-win-upx.bat b/build-releases-win-upx.bat index 7a366de..01efc72 100644 --- a/build-releases-win-upx.bat +++ b/build-releases-win-upx.bat @@ -2,4 +2,4 @@ SET CGO_ENABLED=1 SET GOOS=windows SET GOARCH=amd64 SET GIN_MODE=release -go build -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20250928 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.3.16 -s -w" -o %cd%/release/SamWaf64.exe main.go \ No newline at end of file +go build -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20251103 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.3.17 -s -w" -o %cd%/release/SamWaf64.exe main.go \ No newline at end of file diff --git a/build-releases-win7-upx.bat b/build-releases-win7-upx.bat index 2e153f9..e775bc3 100644 --- a/build-releases-win7-upx.bat +++ b/build-releases-win7-upx.bat @@ -2,4 +2,4 @@ SET CGO_ENABLED=1 SET GOOS=windows SET GOARCH=amd64 SET GIN_MODE=release -go build -ldflags="-X SamWaf/global.GWAF_RUNTIME_WIN7_VERSION=true -X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20250928 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.3.16 -s -w" -o %cd%/release/SamWaf64.exe main.go && %cd%/upx/win64/upx -9 %cd%/release/SamWaf64.exe \ No newline at end of file +go build -ldflags="-X SamWaf/global.GWAF_RUNTIME_WIN7_VERSION=true -X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20251103 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.3.17 -s -w" -o %cd%/release/SamWaf64.exe main.go && %cd%/upx/win64/upx -9 %cd%/release/SamWaf64.exe \ No newline at end of file diff --git a/build_docker_release_linux.bat b/build_docker_release_linux.bat index 2ad9af4..1cca160 100644 --- a/build_docker_release_linux.bat +++ b/build_docker_release_linux.bat @@ -1 +1 @@ -docker run --rm -v "$PWD":/media/sf_SamWaf -w /media/sf_SamWaf -e CGO_ENABLED=1 -e GOPROXY=https://goproxy.cn,direct golang:1.22.9 go build -v -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20250928 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.3.16 -s -w -extldflags "-static"" -o /media/sf_SamWaf/release/SamWafLinux64 main.go && upx -9 /media/sf_SamWaf/release/SamWafLinux64 \ No newline at end of file +docker run --rm -v "$PWD":/media/sf_SamWaf -w /media/sf_SamWaf -e CGO_ENABLED=1 -e GOPROXY=https://goproxy.cn,direct golang:1.22.9 go build -v -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20251103 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.3.17 -s -w -extldflags "-static"" -o /media/sf_SamWaf/release/SamWafLinux64 main.go && upx -9 /media/sf_SamWaf/release/SamWafLinux64 \ No newline at end of file diff --git a/release_pub.bat b/release_pub.bat index 400e022..260ae90 100644 --- a/release_pub.bat +++ b/release_pub.bat @@ -1,8 +1,8 @@ @echo on chcp 65001 set currentpath=%cd% -set currentversion=v1.3.16 -set currentdescription=请在闲时升级,修复bug,新增多项功能,升级前先查看详情,https://doc.samwaf.com/quickstart/Update.html +set currentversion=v1.3.17 +set currentdescription=请在闲时升级,新增提升稳定性修复bug,升级前先查看详情,https://doc.samwaf.com/quickstart/Update.html %currentpath%\setup\go_gen_updatefile\go_gen_updatefile.exe -desc %currentdescription% -o %currentpath%\release\web\samwaf_update -platform windows-amd64 %currentpath%\release\githubci\%currentversion%\SamWaf64.exe %currentversion% %currentpath%\setup\go_gen_updatefile\go_gen_updatefile.exe -desc %currentdescription% -o %currentpath%\release\web\samwaf_update -platform linux-amd64 %currentpath%\release\githubci\%currentversion%\SamWafLinux64 %currentversion% %currentpath%\setup\go_gen_updatefile\go_gen_updatefile.exe -desc %currentdescription% -o %currentpath%\release\web\win7\samwaf_update -platform windows-amd64 %currentpath%\release\githubci\%currentversion%\SamWaf64ForWin7Win8Win2008.exe %currentversion%