Skip to content

Commit

Permalink
build: Try to fix up goreleaser publishing (#745)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmidyson authored Jun 11, 2024
1 parent 3c626bb commit 26992b9
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ release:
**Full Changelog**: https://github.com/mesosphere/mindthegap/compare/{{ .PreviousTag }}...{{ .Tag }}
builds:
- id: mindthegap
dir: ./cmd/mindthegap
- dir: ./cmd/mindthegap
env:
- CGO_ENABLED=0
flags:
Expand Down Expand Up @@ -65,17 +64,12 @@ upx:
lzma: true

archives:
- name_template: '{{ .ProjectName }}_v{{trimprefix .Version "v"}}_{{ .Os }}_{{ .Arch }}'
format_overrides:
- format_overrides:
- goos: windows
format: zip
builds:
- mindthegap

kos:
- id: mindthegap
build: mindthegap
labels:
- labels:
org.opencontainers.image.created: "{{ .CommitDate }}"
org.opencontainers.image.title: mindthegap
org.opencontainers.image.revision: "{{ .FullCommit }}"
Expand All @@ -93,3 +87,4 @@ checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incminor .Tag }}-dev"
report_sizes: true

0 comments on commit 26992b9

Please sign in to comment.