Skip to content

Commit

Permalink
chore: update goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack committed Apr 26, 2024
1 parent 660f7fd commit 399364a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build artifacts and draft release
name: Build artifacts

on:
push:
Expand Down
18 changes: 4 additions & 14 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,3 @@
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com

# The lines below are called `modelines`. See `:help modeline`
# Feel free to remove those if you don't want/need to use them.
# yaml-language-server: $schema=https://goreleaser.com/static/schema.json
# vim: set ts=2 sw=2 tw=0 fo=cnqoj

version: 1

before:
Expand All @@ -26,12 +18,7 @@ archives:
- format: tar.gz
# this name template makes the OS and Arch compatible with the results of `uname`.
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 }}
{{ .ProjectName }}_{{ .Tag }}_{{ .Os }}_{{ .Arch }}
changelog:
sort: asc
Expand All @@ -40,6 +27,9 @@ changelog:
- "^docs:"
- "^test:"

checksum:
disable: true

release:
draft: true
replace_existing_draft: true
Expand Down

0 comments on commit 399364a

Please sign in to comment.