Sfoglia il codice sorgente

build: Add apk and archlinux package builds

世界 1 anno fa
parent
commit
ce164724ea
2 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 2 0
      .goreleaser.yaml
  2. 1 1
      Makefile

+ 2 - 0
.goreleaser.yaml

@@ -157,6 +157,8 @@ nfpms:
     formats:
       - deb
       - rpm
+      - apk
+      - archlinux
     priority: extra
     contents:
       - src: release/config/config.json

+ 1 - 1
Makefile

@@ -61,7 +61,7 @@ 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/release
+	mv dist/*.tar.gz dist/*.zip dist/*.deb dist/*.rpm dist/*.apk dist/*.pkg.tar.zst dist/release
 	ghr --replace --draft --prerelease -p 3 "v${VERSION}" dist/release
 	rm -r dist/release