fix: goreleaser use go version from go.mod file and fix typo

This commit is contained in:
Felipe M 2023-07-02 12:54:08 +02:00
parent 8e9324ae8b
commit e839b69875
No known key found for this signature in database
GPG key ID: CCFBC5637D4000A8
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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: