From e8f6cebd8b7fac53c0b9d7c66e2ffd74ee12a341 Mon Sep 17 00:00:00 2001 From: John Olheiser Date: Thu, 23 Jun 2022 20:23:37 +0800 Subject: [PATCH] New install method for gxz (#65) Reviewed-on: https://gitea.com/gitea/changelog/pulls/65 Reviewed-by: Norwin Reviewed-by: Lunny Xiao Co-authored-by: John Olheiser Co-committed-by: John Olheiser --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 113dbf1..aeb1467 100644 --- a/Makefile +++ b/Makefile @@ -78,6 +78,6 @@ release-check: .PHONY: release-compress release-compress: @hash gxz > /dev/null 2>&1; if [ $$? -ne 0 ]; then \ - $(GO) get -u github.com/ulikunitz/xz/cmd/gxz; \ + $(GO) install github.com/ulikunitz/xz/cmd/gxz@latest; \ fi cd $(DIST)/release/; for file in `find . -type f -name "*"`; do echo "compressing $${file}" && gxz -k -9 $${file}; done;