From 4c027aebc9873b380243d31caf714e7f4a62865d Mon Sep 17 00:00:00 2001 From: Satchmo Date: Thu, 12 Sep 2024 21:28:57 -0400 Subject: [PATCH] go releaser v2 --- .goreleaser.yml | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index f4a7283..449477e 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,4 +1,7 @@ -# Make sure to check the documentation at http://goreleaser.com +# .goreleaser.yaml + +version: 2 + # --------------------------- # General # --------------------------- @@ -16,31 +19,22 @@ changelog: - '^test:' # --------------------------- -# Publishers +# Builders # --------------------------- -# publishers: -# - name: "Publish GoDocs" -# cmd: make godocs - -# --------------------------- -# Builder -# --------------------------- -build: - skip: true +builds: + - skip: true # --------------------------- # GitHub Release # --------------------------- release: prerelease: false - name_template: "Release v{{.Version}}" + name_template: "Release v{{ .Version }}" # --------------------------- # Announce # --------------------------- announce: - - # See more at: https://goreleaser.com/customization/announce/#slack slack: enabled: false message_template: '{{ .ProjectName }} {{ .Tag }} is out! Changelog: https://github.com/BitcoinSchema/{{ .ProjectName }}/releases/tag/{{ .Tag }}' @@ -49,30 +43,20 @@ announce: # icon_emoji: '' # icon_url: '' - # See more at: https://goreleaser.com/customization/announce/#twitter twitter: enabled: false message_template: '{{ .ProjectName }} {{ .Tag }} is out!' - # See more at: https://goreleaser.com/customization/announce/#discord discord: enabled: false message_template: '{{ .ProjectName }} {{ .Tag }} is out!' - # Defaults to `GoReleaser` - author: '' - # Defaults to `3888754` - the grey-ish from goreleaser - color: '' - # Defaults to `https://goreleaser.com/static/avatar.png` - icon_url: '' + # author: '' + # color: '' + # icon_url: '' - # See more at: https://goreleaser.com/customization/announce/#reddit reddit: enabled: false - # Application ID for Reddit Application application_id: "" - # Username for your Reddit account username: "" - # Defaults to `{{ .GitURL }}/releases/tag/{{ .Tag }}` - # url_template: 'https://github.com/BitcoinSchema/{{ .ProjectName }}/releases/tag/{{ .Tag }}' - # Defaults to `{{ .ProjectName }} {{ .Tag }} is out!` title_template: '{{ .ProjectName }} {{ .Tag }} is out!' + # url_template: 'https://github.com/BitcoinSchema/{{ .ProjectName }}/releases/tag/{{ .Tag }}' \ No newline at end of file