diff --git a/.gitignore b/.gitignore index ac0b529653ae01cb30ad0b2a7358a7a0047ded43..34142fe5c91654493d8dd95e68e432b6351f3196 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 5885e0024b6d411d3a63f54d50f4211868d41007..9682c3a35ae139aceb327b9c367ef0779bd59998 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 629023157b5ff18a16db03a1ebf87cac0533985e..827cd73de692604a79153455a8d35ee2d08864b7 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 76569ff131f4bc6ee56da27283279f5396bedb5d..a75ab1d82db97c1725b2de039d57ab0e8d20b882 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: