From 44f6a432706c4bacbd111ee4ad185bd7b8155379 Mon Sep 17 00:00:00 2001 From: Alexander Sharov Date: Fri, 27 Dec 2024 18:20:51 +0400 Subject: [PATCH] feat(goreleaser): add slack/telegram announces --- .goreleaser.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.goreleaser.yml b/.goreleaser.yml index 4f3c9a4..09a68ca 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,6 +1,23 @@ project_name: tenv version: 2 +announce: + slack: + enabled: true + message_template: ":tada: tenv {{.Tag}} is available! See what's new here - https://github.com/aquasecurity/tenv/releases/tag/{{.Tag}}" + channel: "#tofuutils" + username: "tofuutils-notifications" + icon_emoji: "" + icon_url: "" + blocks: [] + attachments: [] + + telegram: + enabled: true + chat_id: -4020097127 + message_template: "🎉 tenv {{.Tag}} is available! See what's new here - https://github.com/aquasecurity/tenv/releases/tag/{{.Tag}}" + parse_mode: MarkdownV2 + before: hooks: - go mod tidy