goreleaser: only build for arm64 linux atm [skip ci]

This commit is contained in:
surtur 2023-09-08 22:59:36 +02:00
parent 96c0b53493
commit 1b457aa8c0
Signed by: wanderer
SSH Key Fingerprint: SHA256:MdCZyJ2sHLltrLBp0xQO0O1qTW9BT/xl5nXkDvhlMCI

@ -9,10 +9,6 @@ archives:
# - name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}' # - name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
- name_template: '{{ .ProjectName }}_v{{ .Version }}' - name_template: '{{ .ProjectName }}_v{{ .Version }}'
meta: true meta: true
files:
- README.md
- LICENSE
- exampleConfig.dhall
before: before:
hooks: hooks:
- go generate . - go generate .
@ -25,10 +21,10 @@ builds:
- -trimpath - -trimpath
goarch: goarch:
- amd64 - amd64
- arm64 # - arm64
goos: goos:
- linux - linux
- freebsd # - freebsd
ldflags: ldflags:
- -s -w -X main.version={{ .Version }} -X main.commit={{ .Commit }} - -s -w -X main.version={{ .Version }} -X main.commit={{ .Commit }}
mod_timestamp: '{{ .CommitTimestamp }}' mod_timestamp: '{{ .CommitTimestamp }}'
@ -38,9 +34,8 @@ release:
prerelease: true prerelease: true
skip_upload: false skip_upload: false
extra_files: extra_files:
- glob: ./README.md
- glob: ./LICENSE
- glob: ./exampleConfig.dhall - glob: ./exampleConfig.dhall
- glob: ./dist/pcmt_linux_amd64_v2/pcmt
mode: replace mode: replace
gitea: gitea:
owner: mirre-mt owner: mirre-mt
@ -53,6 +48,9 @@ snapshot:
checksum: checksum:
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA512SUMS.txt" name_template: "{{ .ProjectName }}_{{ .Version }}_SHA512SUMS.txt"
algorithm: sha512 algorithm: sha512
extra_files:
- glob: ./exampleConfig.dhall
- glob: ./dist/pcmt_linux_amd64_v2/pcmt
changelog: changelog:
use: git use: git
sort: asc sort: asc