Skip to content

Commit

Permalink
Merge pull request #11 from loveholidays/feature/fixing-goreleaser
Browse files Browse the repository at this point in the history
Fixing GoReleaser
  • Loading branch information
dmitri-lerko authored Jan 16, 2024
2 parents 8dec7a4 + 74dd636 commit 003566f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
version: latest
args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.TOKEN_GORELEASER }}
GITHUB_TOKEN: ${{ secrets.TOKEN_GORELEASER }}
13 changes: 8 additions & 5 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,13 @@ builds:
- linux
- darwin
archives:
- replacements:
darwin: Darwin
linux: Linux
amd64: x86_64
- name_template: >-
{{- .ProjectName }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down Expand Up @@ -62,4 +65,4 @@ dockers:
- --label=org.opencontainers.image.source=https://github.com/loveholidays/ripley
- --label=org.opencontainers.image.version={{ .Version }}
- --label=org.opencontainers.image.revision={{ .FullCommit }}
- --label=org.opencontainers.image.licenses=GPL-3.0
- --label=org.opencontainers.image.licenses=GPL-3.0

0 comments on commit 003566f

Please sign in to comment.