Skip to content

Commit

Permalink
replace_existing_artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
kmulvey committed Apr 3, 2024
1 parent 13ae625 commit 368fdc1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,18 @@ builds:
- amd64
- arm64

release:
github:
owner: kmulvey
name: concurrenthash
# IDs of the archives to use.
ids:
- concurrenthash
# Whether to remove existing draft releases with the same name before creating
replace_existing_draft: true
# Whether to remove an artifact that already exists.
replace_existing_artifacts: true

archives:
- id: dist
name_template: >-
Expand All @@ -28,10 +40,13 @@ archives:
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
checksum:
name_template: "checksums.txt"

snapshot:
name_template: "{{ incpatch .Version }}-next"

changelog:
sort: asc
filters:
Expand Down

0 comments on commit 368fdc1

Please sign in to comment.