goreleaser: only build for arm64 linux atm [skip ci]
This commit is contained in:
parent
96c0b53493
commit
1b457aa8c0
@ -9,10 +9,6 @@ archives:
|
||||
# - name_template: '{{ .ProjectName }}-v{{ .Version }}-{{ .Os }}-{{ .Arch }}'
|
||||
- name_template: '{{ .ProjectName }}_v{{ .Version }}'
|
||||
meta: true
|
||||
files:
|
||||
- README.md
|
||||
- LICENSE
|
||||
- exampleConfig.dhall
|
||||
before:
|
||||
hooks:
|
||||
- go generate .
|
||||
@ -25,10 +21,10 @@ builds:
|
||||
- -trimpath
|
||||
goarch:
|
||||
- amd64
|
||||
- arm64
|
||||
# - arm64
|
||||
goos:
|
||||
- linux
|
||||
- freebsd
|
||||
# - freebsd
|
||||
ldflags:
|
||||
- -s -w -X main.version={{ .Version }} -X main.commit={{ .Commit }}
|
||||
mod_timestamp: '{{ .CommitTimestamp }}'
|
||||
@ -38,9 +34,8 @@ release:
|
||||
prerelease: true
|
||||
skip_upload: false
|
||||
extra_files:
|
||||
- glob: ./README.md
|
||||
- glob: ./LICENSE
|
||||
- glob: ./exampleConfig.dhall
|
||||
- glob: ./dist/pcmt_linux_amd64_v2/pcmt
|
||||
mode: replace
|
||||
gitea:
|
||||
owner: mirre-mt
|
||||
@ -53,6 +48,9 @@ snapshot:
|
||||
checksum:
|
||||
name_template: "{{ .ProjectName }}_{{ .Version }}_SHA512SUMS.txt"
|
||||
algorithm: sha512
|
||||
extra_files:
|
||||
- glob: ./exampleConfig.dhall
|
||||
- glob: ./dist/pcmt_linux_amd64_v2/pcmt
|
||||
changelog:
|
||||
use: git
|
||||
sort: asc
|
||||
|
Loading…
Reference in New Issue
Block a user