From e839b6987580b750103304258ac8385f1163de08 Mon Sep 17 00:00:00 2001 From: Felipe M Date: Sun, 2 Jul 2023 12:54:08 +0200 Subject: [PATCH] fix: goreleaser use go version from go.mod file and fix typo --- .github/workflows/_gorelease.yml | 2 +- .goreleaser.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/_gorelease.yml b/.github/workflows/_gorelease.yml index 701d5dd7..10998cf5 100644 --- a/.github/workflows/_gorelease.yml +++ b/.github/workflows/_gorelease.yml @@ -18,7 +18,7 @@ jobs: - name: Setup Go uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0 with: - go-version: 1.19 + go-version-file: 'go.mod' - name: Run GoReleaser uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # 4.3.0 with: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index e013537c..a79ff13b 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -29,7 +29,7 @@ archives: - id: shiori name_template: >- {{ .ProjectName }}_ - {{- if eq .Os "darwin" }}Darwin{{- else if eq .Os "linux" }}Linux{{- else if .Os "windows" }}Windows{{- else }}{{ .Os }}{{ end }}_ + {{- if eq .Os "darwin" }}Darwin{{- else if eq .Os "linux" }}Linux{{- else if eq .Os "windows" }}Windows{{- else }}{{ .Os }}{{ end }}_ {{- if eq .Arch "amd64" }}x86_64{{- else if eq .Arch "arm64" }}aarch64{{- else }}{{ .Arch }}{{ end }} checksum: