From 32fd14dd24970b119aa4bf34ea387c25a7a17839 Mon Sep 17 00:00:00 2001 From: samwaf Date: Wed, 3 Jul 2024 10:39:51 +0800 Subject: [PATCH] =?UTF-8?q?update:(20240703)=20v1.1.8=20=E4=B8=80=E9=94=AE?= =?UTF-8?q?=E4=BF=AE=E6=94=B9bt=20=E9=BB=98=E8=AE=A4web=E7=AB=AF=E5=8F=A3?= =?UTF-8?q?=E6=96=B9=E4=BE=BF=E7=94=A8=E6=88=B7=E4=BD=BF=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-releases-win-upx.bat | 2 +- build_docker_release_linux.bat | 2 +- release_pub.bat | 4 ++-- vue/dist/index.html | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build-releases-win-upx.bat b/build-releases-win-upx.bat index f23fbef..36aeee8 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=20240603 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.1.7 -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_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20240703 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.1.8 -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 f36d042..d83d433 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.3 go build -v -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20240603 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.1.7 -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.3 go build -v -ldflags="-X SamWaf/global.GWAF_RELEASE=true -X SamWaf/global.GWAF_RELEASE_VERSION_NAME=20240703 -X SamWaf/global.GWAF_RELEASE_VERSION=v1.1.8 -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 5b0ce76..b306e47 100644 --- a/release_pub.bat +++ b/release_pub.bat @@ -1,7 +1,7 @@ @echo on chcp 65001 set currentpath=%cd% -set currentversion=v1.1.7 -set currentdescription=新版linux兼容问题,建议升级 +set currentversion=v1.1.8 +set currentdescription=新版提供便捷修改默认web端口功能,建议升级 %currentpath%\setup\go_gen_updatefile\go_gen_updatefile.exe -desc %currentdescription% -o %currentpath%\release\web\samwaf_update -platform windows-amd64 %currentpath%\release\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\SamWafLinux64 %currentversion% \ No newline at end of file diff --git a/vue/dist/index.html b/vue/dist/index.html index 492d385..ff89fc6 100644 --- a/vue/dist/index.html +++ b/vue/dist/index.html @@ -6,8 +6,8 @@ SamWaf网站防火墙系统(Web Application Firewall) - - + +