diff --git a/.goreleaser.yml b/.goreleaser.yml index 7895662..808ba1f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -5,7 +5,7 @@ before: # You may remove this if you don't use go modules. - go mod tidy builds: - - id: "cli" + - id: linux-amd64 main: ./cmd/cacertocsp binary: cacert-goocsp env: @@ -14,10 +14,38 @@ builds: - linux goarch: - amd64 + - id: linux-arm64 + main: ./cmd/cacertocsp + binary: cacert-goocsp + goos: + - linux + goarch: + - arm64 + goarm: + - "9" + env: + - CC=aarch64-linux-gnu-gcc + - CXX=aarch64-linux-gnu-g++ + - PKG_CONFIG_PATH=/usr/aarch64-linux-gnu/pkgconfig + - id: linux-armhf + main: ./cmd/cacertocsp + binary: cacert-goocsp + goos: + - linux + goarch: + - arm + goarm: + - "7" + env: + - CC=arm-linux-gnueabihf-gcc + - CXX=arm-linux-gnueabihf-g++ + - PKG_CONFIG_PATH=/usr/arm-linux-gnueabihf/pkgconfig archives: - - replacements: - linux: Linux - amd64: x86_64 + - id: cacert-gosigner + builds: + - linux-amd64 + - linux-arm64 + - linux-armhf checksum: name_template: 'checksums.txt' snapshot: