From 5e9baaa8128cb869d7da5eeb66111ce80c97f97b Mon Sep 17 00:00:00 2001
From: Pavel Antonov <antonov@perx.ru>
Date: Tue, 13 Aug 2024 00:31:03 +0400
Subject: [PATCH] =?UTF-8?q?chore:=20=D0=9A=D0=BE=D0=BD=D1=84=D0=B8=D0=B3?=
 =?UTF-8?q?=D1=83=D1=80=D0=B0=D1=86=D0=B8=D1=8F=20GoReleaser=20=D0=B8=20Ta?=
 =?UTF-8?q?sk?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 .gitignore      |  3 ++-
 .goreleaser.yml |  1 -
 CHANGELOG.md    | 30 ++++++++++++++++++++++++++++++
 Taskfile.yaml   |  5 +++--
 4 files changed, 35 insertions(+), 4 deletions(-)

diff --git a/.gitignore b/.gitignore
index ac0b5296..34142fe5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
 .idea
-dist
\ No newline at end of file
+dist/
+release/
\ No newline at end of file
diff --git a/.goreleaser.yml b/.goreleaser.yml
index 5885e002..9682c3a3 100644
--- a/.goreleaser.yml
+++ b/.goreleaser.yml
@@ -8,7 +8,6 @@ gitlab_urls:
 before:
   hooks:
     - go mod tidy
-    - git cliff "$(svu current)".. --tag "$(svu next)" > dist/CHANGELOG.md
 
 builds:
   - skip: true
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 62902315..827cd73d 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,36 @@
 
 All notable changes to this project will be documented in this file.
 
+## [0.27.0-alpha.1+15] - 2024-08-12
+
+### вљ™пёЏ Miscellaneous Tasks
+
+- Конфигурация GoReleaser и Task -([cea0e35](https://git.perx.ru/perxis/perxis-go/-/commit/cea0e356a4d5509e7b33bb4d64e7412194473a1f))
+
+## [0.27.0-alpha.1+14] - 2024-08-12
+
+### вљ™пёЏ Miscellaneous Tasks
+
+- Конфигурация GoReleaser и Task -([7ca6764](https://git.perx.ru/perxis/perxis-go/-/commit/7ca6764d2c8ec87714e0f2f085c090aface17472))
+
+## [0.27.0-alpha.1+13] - 2024-08-12
+
+### вљ™пёЏ Miscellaneous Tasks
+
+- Конфигурация GoReleaser и Task -([3ea55da](https://git.perx.ru/perxis/perxis-go/-/commit/3ea55dab74b7f27243e98dcf39f80cee15c732f6))
+
+## [0.27.0-alpha.1+12] - 2024-08-12
+
+### вљ™пёЏ Miscellaneous Tasks
+
+- Конфигурация GoReleaser и Task -([2a5645f](https://git.perx.ru/perxis/perxis-go/-/commit/2a5645fb8620df816ad518b5afcc8b3ae436458e))
+
+## [0.27.0-alpha.1+10] - 2024-08-12
+
+### вљ™пёЏ Miscellaneous Tasks
+
+- Конфигурация GoReleaser и Task -([6b6c142](https://git.perx.ru/perxis/perxis-go/-/commit/6b6c142e3ec00da55cab2b92deac6582864b9bd8))
+
 ## [0.27.0-alpha.1+9] - 2024-08-12
 
 ### рџљЂ Features
diff --git a/Taskfile.yaml b/Taskfile.yaml
index 76569ff1..a75ab1d8 100644
--- a/Taskfile.yaml
+++ b/Taskfile.yaml
@@ -11,7 +11,6 @@ vars:
 tasks:
   changelog:
     cmds:
-      - git-cliff {{ .CURRENT_VERSION }}.. --tag {{ .RELEASE_VERSION }}  > dist/CHANGELOG.md
       - git-cliff > CHANGELOG.md --tag {{ .RELEASE_VERSION }}
 
 # release
@@ -23,7 +22,9 @@ tasks:
 # - Запушить код и тэги на сервер (иначе будет непонятная ошибка goreleaser Not found)
   release:
     cmds:
-      - goreleaser release --clean --release-notes=dist/CHANGELOG.md
+      - mkdir -p release
+      - git-cliff {{ .CURRENT_VERSION }}.. --tag {{ .RELEASE_VERSION }}  > release/CHANGELOG.md
+      - goreleaser release --clean --release-notes=release/CHANGELOG.md
 
   mocks:
     deps:
-- 
GitLab