From 4823023806fd80aee79fc8ab818d6aafaefdcbc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=96=E7=95=8C?= Date: Thu, 22 Feb 2024 21:03:51 +0800 Subject: [PATCH] Remove invalid archlinux packages from release --- Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4a18aa16..5994b6d4 100644 --- a/Makefile +++ b/Makefile @@ -66,7 +66,14 @@ proto_install: release: go run ./cmd/internal/build goreleaser release --clean --skip-publish || exit 1 mkdir dist/release - mv dist/*.tar.gz dist/*.zip dist/*.deb dist/*.rpm dist/*.pkg.tar.zst dist/release + mv dist/*.tar.gz \ + dist/*.zip \ + dist/*.deb \ + dist/*.rpm \ + dist/*_amd64.pkg.tar.zst \ + dist/*_amd64v3.pkg.tar.zst \ + dist/*_arm64.pkg.tar.zst \ + dist/release ghr --replace --draft --prerelease -p 3 "v${VERSION}" dist/release rm -r dist/release