Skip to content

Commit

Permalink
fix: CI
Browse files Browse the repository at this point in the history
  • Loading branch information
blacktop committed Dec 21, 2024
1 parent 6a00afc commit f79ca0f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions hack/goreleaser/linux.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=jcroql
version: 2

before:
hooks:
# You may remove this if you don't use go modules.
Expand Down Expand Up @@ -27,17 +29,15 @@ builds:
- arm64

archives:
- replacements:
amd64: x86_64
name_template: "disass_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- name_template: "disass_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
files:
- completions/*

checksum:
name_template: 'checksums.linux.txt'
name_template: "checksums.linux.txt"

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

changelog:
sort: asc
Expand Down
14 changes: 7 additions & 7 deletions hack/goreleaser/windows.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# This is an example .goreleaser.yml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=jcroql
version: 2

before:
hooks:
# You may remove this if you don't use go modules.
Expand All @@ -15,20 +17,18 @@ builds:
goarch:
- amd64
archives:
- replacements:
amd64: x86_64
name_template: "disass_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
- name_template: "disass_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
format_overrides:
- goos: windows
format: zip
files:
- completions/*

checksum:
name_template: 'checksums.win.txt'
name_template: "checksums.win.txt"

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

changelog:
sort: asc
Expand Down

0 comments on commit f79ca0f

Please sign in to comment.