From 965d6fa5b9d00998b7320dde79a6d4a2f0406035 Mon Sep 17 00:00:00 2001 From: mklee Date: Mon, 9 Jun 2025 12:08:29 +0900 Subject: [PATCH] =?UTF-8?q?[1.2]=20=EC=9D=B8=ED=94=84=EB=9D=BC=20-=20houst?= =?UTF-8?q?on.sh=20=EB=A6=AC=EB=88=85=EC=8A=A4=20=EC=A4=84=EB=B0=94?= =?UTF-8?q?=EA=BF=88=EC=9C=BC=EB=A1=9C=20=EB=B3=80=EA=B2=BD=20-=20make=5Fh?= =?UTF-8?q?ouston=5Fpackage.ps1=EC=9D=B4=20houston.sh=EB=8F=84=20=ED=8F=AC?= =?UTF-8?q?=ED=95=A8=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- houston.sh | 2 +- make_houston_package.ps1 | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/houston.sh b/houston.sh index 09fc9ef..4de668b 100644 --- a/houston.sh +++ b/houston.sh @@ -1,4 +1,4 @@ #!/bin/sh -nohup /home/opdev/houston -client -logfile > /dev/null & +nohup ./houston -client -logfile > /dev/null & diff --git a/make_houston_package.ps1 b/make_houston_package.ps1 index 05f6568..808262f 100644 --- a/make_houston_package.ps1 +++ b/make_houston_package.ps1 @@ -5,13 +5,14 @@ del houston.zip $Env:GOOS="linux" $Env:GOARCH="amd64" -go get repositories.action2quare.com/ayo/gocommon -go mod tidy +# go get repositories.action2quare.com/ayo/gocommon +# go mod tidy go build -ldflags="-s -w" -tags=client . cp houston .\replacer\houston cp config.json .\replacer\config.json +cp houston.sh .\replacer\houston.sh cd replacer go build -ldflags="-s -w" . @@ -19,10 +20,12 @@ go build -ldflags="-s -w" . Compress-Archive -Path replacer -DestinationPath houston.zip -Force Compress-Archive -Path config.json -Update -DestinationPath houston.zip Compress-Archive -Path houston -Update -DestinationPath houston.zip +Compress-Archive -Path houston.sh -Update -DestinationPath houston.zip del houston del config.json del replacer +del houston.sh mv houston.zip ..\houston.zip cd ..