mirror of
https://github.com/go-shiori/shiori.git
synced 2025-09-11 07:26:01 +08:00
fix: goreleaser use go version from go.mod file and fix typo
This commit is contained in:
parent
8e9324ae8b
commit
e839b69875
2 changed files with 2 additions and 2 deletions
2
.github/workflows/_gorelease.yml
vendored
2
.github/workflows/_gorelease.yml
vendored
|
@ -18,7 +18,7 @@ jobs:
|
||||||
- name: Setup Go
|
- name: Setup Go
|
||||||
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
|
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
|
||||||
with:
|
with:
|
||||||
go-version: 1.19
|
go-version-file: 'go.mod'
|
||||||
- name: Run GoReleaser
|
- name: Run GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # 4.3.0
|
uses: goreleaser/goreleaser-action@336e29918d653399e599bfca99fadc1d7ffbc9f7 # 4.3.0
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -29,7 +29,7 @@ archives:
|
||||||
- id: shiori
|
- id: shiori
|
||||||
name_template: >-
|
name_template: >-
|
||||||
{{ .ProjectName }}_
|
{{ .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 }}
|
{{- if eq .Arch "amd64" }}x86_64{{- else if eq .Arch "arm64" }}aarch64{{- else }}{{ .Arch }}{{ end }}
|
||||||
|
|
||||||
checksum:
|
checksum:
|
||||||
|
|
Loading…
Add table
Reference in a new issue