From c1809e5f070b851e26b4316df46b2d0aaba1bbf7 Mon Sep 17 00:00:00 2001 From: Dmitrii Neeman Date: Sun, 27 Oct 2024 17:38:18 +0200 Subject: [PATCH] FMWK-579-release-automation - on release creation trigger --- .github/workflows/release.yml | 5 ++--- .goreleaser.yaml | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55935a1c..6999b3ff 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,9 +1,8 @@ name: goreleaser on: - push: - tags: - - "v*" + release: + types: created permissions: contents: write diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 55a60354..32f79ed5 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -71,6 +71,9 @@ archives: - "asrestore" release: + draft: true + replace_existing_artifacts: true + mode: prepend header: | ## Release {{ .Version }} ({{ .Date }}) - asbackup (CLI tool)