Skip to content

Commit

Permalink
feat: re-configure goreleaser
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Sharov <[email protected]>
  • Loading branch information
kvendingoldo committed Dec 27, 2024
1 parent 3322cae commit d3720d6
Showing 1 changed file with 55 additions and 1 deletion.
56 changes: 55 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@
project_name: tenv
version: 2

announce:
linkedin:
enabled: true
message_template: "🎉 tenv {{.Tag}} is available now!! See what's new here - https://github.com/aquasecurity/tenv/releases/tag/{{.Tag}}"

slack:
enabled: true
message_template: ":tada: tenv {{.Tag}} is available now!! See what's new here - https://github.com/aquasecurity/tenv/releases/tag/{{.Tag}}"
channel: "#tofuutils"
username: ""
icon_emoji: ""
icon_url: ""
blocks: []
attachments: []

telegram:
enabled: true
chat_id: 123456
message_template: "🎉 tenv {{.Tag}} is available now!! See what's new here - https://github.com/aquasecurity/tenv/releases/tag/{{.Tag}}"
parse_mode: HTML # MarkdownV2

twitter:
enabled: true
message_template: "🎉 tenv {{.Tag}} is available now!! See what's new here - https://github.com/aquasecurity/tenv/releases/tag/{{.Tag}} #tenv #terraform #opentofu"

before:
hooks:
- go mod tidy
Expand Down Expand Up @@ -353,10 +378,31 @@ archives:

release:
name_template: "Release {{.Tag}}"
discussion_category_name: Release
prerelease: auto

changelog:
use: github-native
use: github
sort: asc
format: "{{.SHA}}: {{.Message}} (@{{.AuthorUsername}})"
groups:
- title: Features
regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$'
order: 0
- title: "Bug fixes"
regexp: '^.*?bug(\([[:word:]]+\))??!?:.+$'
order: 1
- title: Others
order: 999
groups:
- title: "Docs"
regex: ".*docs.*"
order: 1
- title: "CI"
regex: ".*build.*"
order: 2

divider: "---"
filters:
exclude:
- "^test:"
Expand Down Expand Up @@ -399,6 +445,14 @@ nfpms:
pkgbase: tenv
packager: tofuutils <[email protected]>

cloudsmiths:
- organization: tofuutils
repository: tenv
distributions:
deb: "ubuntu/xenial"
alpine: "alpine/v3.8"
rpm: "el/7"

snapcrafts:
- name: tenv
publish: true
Expand Down

0 comments on commit d3720d6

Please sign in to comment.