From 1b457aa8c045f1b6a5fc0098b777287a74e918c8 Mon Sep 17 00:00:00 2001 From: surtur Date: Fri, 8 Sep 2023 22:59:36 +0200 Subject: [PATCH] goreleaser: only build for arm64 linux atm [skip ci] --- .goreleaser.yaml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index b397211..570c88d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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