From a1ddaed3e0b1eafa9a791a4ad89202b0f7f212aa Mon Sep 17 00:00:00 2001 From: ugurtafrali Date: Tue, 14 Apr 2026 21:26:13 +0300 Subject: [PATCH] Separate Alpine Linux and Android APK builds in goreleaser --- .goreleaser.yaml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index b7862ec9..f9446b7d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -74,10 +74,9 @@ archives: # Linux Packages nfpms: - id: packages - ids: ['linux'] + ids: ['linux'] file_name_template: "{{ .ConventionalFileName }}" formats: - - apk - deb - rpm - archlinux @@ -90,6 +89,22 @@ nfpms: section: networking priority: optional + # Alpine Linux package — named with "-alpine" suffix to distinguish from + # Android APK files, which share the same .apk extension. + - id: alpine-package + ids: ['linux'] + file_name_template: "{{ .ConventionalFileName | replace \".apk\" \"-alpine.apk\" }}" + formats: + - apk + vendor: xvzc + homepage: https://github.com/xvzc/spoofdpi + maintainer: xvzc + description: A simple and fast anti-censorship tool written in Go + license: Apache-2.0 + bindir: /usr/local/bin + section: networking + priority: optional + # Generate Software Bill of Materials sboms: - artifacts: archive