From 44fc4c5686aa108d80f682c39528649f71431be6 Mon Sep 17 00:00:00 2001 From: Evan Chen Date: Sun, 24 Oct 2021 01:31:25 +0800 Subject: [PATCH] build: use tar instead of zip --- configui.go | 2 +- release.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configui.go b/configui.go index d149547..978c83c 100644 --- a/configui.go +++ b/configui.go @@ -14,7 +14,7 @@ var UNIX_SHELL = "sh" var WIN_SHELL = "cmd" const version = "0.1.2-rc1" -const build = "97d2e08" +const build = "1a9e4c8" //go:embed templates var tmplFS embed.FS diff --git a/release.sh b/release.sh index 41339a5..c5c30a1 100755 --- a/release.sh +++ b/release.sh @@ -21,7 +21,7 @@ for PLATFORM in $PLATFORMS; do CMD="GOOS=${GOOS} GOARCH=${GOARCH} go build ${LDFLAGS} -o ${DIST}/${BIN_FILENAME} $@" echo "${CMD}" eval $CMD || FAILURES="${FAILURES} ${PLATFORM}" - sh -c "cd ${DIST} && zip ${PROJ}-${VERSION}-${GOOS}-${GOARCH}.zip ${BIN_FILENAME} && rm ${BIN_FILENAME}" + sh -c "cd ${DIST} && tar -czf ${PROJ}-${VERSION}-${GOOS}-${GOARCH}.tar.gz ${BIN_FILENAME} && rm ${BIN_FILENAME}" done if [[ "${FAILURES}" != "" ]]; then