From 3b89fbc4545a6a731b87bbbc0afe6053659c8fbc Mon Sep 17 00:00:00 2001 From: The_Spider Date: Fri, 18 Mar 2022 09:57:16 -0500 Subject: [PATCH] UPX breaks binary :( --- Jenkinsfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 2d2c348..69dcebd 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -92,13 +92,9 @@ sonar.go.coverage.reportPaths=cover.out if [ ! "/usr/bin/git" ] || [ ! -x "/usr/bin/git" ]; then apk add --no-cache git fi - if [ ! "/usr/bin/upx" ] || [ ! -x "/usr/bin/upx" ]; then - apk add --no-cache upx - fi apk add --no-cache libusb-dev gcc g++ musl-dev pkgconfig go install -v ./... GOOS=linux GOARCH=amd64 go build -v -ldflags="-s -w" -tags timetzdata -o go-temper ./cmd/go-temper - upx --lzma go-temper """ } }