From db6c6caa4baa7daaffdc26e2bae679234ec632e4 Mon Sep 17 00:00:00 2001 From: DeadNews Date: Sun, 7 Apr 2024 21:21:15 +0700 Subject: [PATCH 1/9] ci(github): update `goreleaser` job --- .goreleaser.yaml | 40 +++++++++++++++++++++------------------- Makefile | 1 + README.md | 2 +- 3 files changed, 23 insertions(+), 20 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index d9fc2f2..4ccf346 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -14,25 +14,27 @@ changelog: - ^chore - ^test" - ^(ci|build|chore)\(deps.*\) - # groups: - # - title: Dependencies - # regexp: ^fix\(deps.*\) - # order: 300 - # - title: Features - # regexp: ^feat - # order: 100 - # - title: Security - # regexp: ^sec - # order: 150 - # - title: Bug fixes - # regexp: ^(fix|refactor) - # order: 200 - # - title: Documentation - # regexp: ^docs - # order: 400 - # - title: Build process - # regexp: ^(build|ci) - # order: 500 + groups: + - title: Dependencies + regexp: ^fix\(deps.*\) + order: 300 + - title: Features + regexp: ^feat + order: 100 + - title: Security + regexp: ^sec + order: 150 + - title: Bug fixes + regexp: ^(fix|refactor) + order: 200 + - title: Documentation + regexp: ^docs + order: 400 + - title: Build process + regexp: ^(build|ci) + order: 500 + - title: Other work + order: 999 nfpms: - id: "{{ .ProjectName }}" diff --git a/Makefile b/Makefile index 573dc04..177f2e8 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ goreleaser: update: go get -u ./... go mod tidy + go mod verify install: pre-commit install diff --git a/README.md b/README.md index 0d5038e..65021d5 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![GitHub: Release](https://img.shields.io/github/v/release/deadnews/deadnews-template-go?logo=github&logoColor=white)](https://github.com/deadnews/deadnews-template-go/releases/latest) [![Docker: ghcr](https://img.shields.io/badge/docker-gray.svg?logo=docker&logoColor=white)](https://github.com/deadnews/deadnews-template-go/pkgs/container/deadnews-template-go) -[![Go: Reference](https://pkg.go.dev/badge/github.com/DeadNews/deadnews-template-go.svg)](https://pkg.go.dev/github.com/DeadNews/deadnews-template-go) +[![Go: Reference](https://pkg.go.dev/badge/github.com/DeadNews/deadnews-template-go.svg)](https://pkg.go.dev/github.com/DeadNews/deadnews-template-go/v2) [![Go: Report Card](https://goreportcard.com/badge/github.com/DeadNews/deadnews-template-go)](https://goreportcard.com/report/github.com/DeadNews/deadnews-template-go) [![CI: pre-commit](https://results.pre-commit.ci/badge/github/DeadNews/deadnews-template-go/main.svg)](https://results.pre-commit.ci/latest/github/deadnews/deadnews-template-go/main) [![CI: main](https://img.shields.io/github/actions/workflow/status/deadnews/deadnews-template-go/main.yml?branch=main&logo=github&logoColor=white&label=main)](https://github.com/deadnews/deadnews-template-go/actions/workflows/main.yml) From 73b13f68649d075da9f2a5631a567f0a3db18355 Mon Sep 17 00:00:00 2001 From: DeadNews Date: Sun, 7 Apr 2024 21:22:20 +0700 Subject: [PATCH 2/9] chore(release): prepare for v2.0.6-beta.0 --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index ceec5f7..a5e7b7d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [2.0.6-beta.0](https://github.com/DeadNews/deadnews-template-go/compare/v2.0.5...v2.0.6-beta.0) - 2024-04-07 + +### ⚙️ CI/CD + +- _(github)_ update `goreleaser` job - ([db6c6ca](https://github.com/DeadNews/deadnews-template-go/commit/db6c6caa4baa7daaffdc26e2bae679234ec632e4)) + ## [2.0.5](https://github.com/DeadNews/deadnews-template-go/compare/v2.0.4...v2.0.5) - 2024-04-06 ### ⚙️ CI/CD From 089506b46364903e0dbf8b181994f3f92cdd510f Mon Sep 17 00:00:00 2001 From: DeadNews Date: Sun, 7 Apr 2024 21:31:36 +0700 Subject: [PATCH 3/9] ci(github): update `goreleaser` job --- .goreleaser.yaml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 4ccf346..be9868d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -16,22 +16,22 @@ changelog: - ^(ci|build|chore)\(deps.*\) groups: - title: Dependencies - regexp: ^fix\(deps.*\) + regexp: ^fix\(deps.*\).* order: 300 - title: Features - regexp: ^feat + regexp: ^feat.* order: 100 - title: Security - regexp: ^sec + regexp: ^sec.* order: 150 - title: Bug fixes - regexp: ^(fix|refactor) + regexp: ^(fix|refactor).* order: 200 - title: Documentation - regexp: ^docs + regexp: ^docs.* order: 400 - title: Build process - regexp: ^(build|ci) + regexp: ^(build|ci).* order: 500 - title: Other work order: 999 From 03eb8190905b407d971f7bcac999e6be83b249df Mon Sep 17 00:00:00 2001 From: DeadNews Date: Sun, 7 Apr 2024 21:31:48 +0700 Subject: [PATCH 4/9] chore(release): prepare for v2.0.6-beta.1 --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a5e7b7d..adb9928 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ # Changelog -## [2.0.6-beta.0](https://github.com/DeadNews/deadnews-template-go/compare/v2.0.5...v2.0.6-beta.0) - 2024-04-07 +## [2.0.6-beta.1](https://github.com/DeadNews/deadnews-template-go/compare/v2.0.5...v2.0.6-beta.1) - 2024-04-07 ### ⚙️ CI/CD +- _(github)_ update `goreleaser` job - ([089506b](https://github.com/DeadNews/deadnews-template-go/commit/089506b46364903e0dbf8b181994f3f92cdd510f)) - _(github)_ update `goreleaser` job - ([db6c6ca](https://github.com/DeadNews/deadnews-template-go/commit/db6c6caa4baa7daaffdc26e2bae679234ec632e4)) ## [2.0.5](https://github.com/DeadNews/deadnews-template-go/compare/v2.0.4...v2.0.5) - 2024-04-06 From bb9f67f62e0b148933ff91a89ea370338d89faa7 Mon Sep 17 00:00:00 2001 From: DeadNews Date: Sun, 7 Apr 2024 21:44:59 +0700 Subject: [PATCH 5/9] ci(github): update `goreleaser` job --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index be9868d..fc413f5 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -31,7 +31,7 @@ changelog: regexp: ^docs.* order: 400 - title: Build process - regexp: ^(build|ci).* + regexp: ^.*?(build|ci)(\(.+\))??!?:.+$ order: 500 - title: Other work order: 999 From 731344e77b5cfd1683dbe669aedae4b38d02c3fd Mon Sep 17 00:00:00 2001 From: DeadNews Date: Sun, 7 Apr 2024 21:45:10 +0700 Subject: [PATCH 6/9] chore(release): prepare for v2.0.6-beta.2 --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index adb9928..6e337dd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ # Changelog -## [2.0.6-beta.1](https://github.com/DeadNews/deadnews-template-go/compare/v2.0.5...v2.0.6-beta.1) - 2024-04-07 +## [2.0.6-beta.2](https://github.com/DeadNews/deadnews-template-go/compare/v2.0.5...v2.0.6-beta.2) - 2024-04-07 ### ⚙️ CI/CD +- _(github)_ update `goreleaser` job - ([bb9f67f](https://github.com/DeadNews/deadnews-template-go/commit/bb9f67f62e0b148933ff91a89ea370338d89faa7)) - _(github)_ update `goreleaser` job - ([089506b](https://github.com/DeadNews/deadnews-template-go/commit/089506b46364903e0dbf8b181994f3f92cdd510f)) - _(github)_ update `goreleaser` job - ([db6c6ca](https://github.com/DeadNews/deadnews-template-go/commit/db6c6caa4baa7daaffdc26e2bae679234ec632e4)) From 4d6fe92cf7241612728dd241ccb24ee74f64ce1a Mon Sep 17 00:00:00 2001 From: DeadNews Date: Sun, 7 Apr 2024 21:58:33 +0700 Subject: [PATCH 7/9] ci(github): update `goreleaser` job --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fc413f5..f696704 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -31,7 +31,7 @@ changelog: regexp: ^docs.* order: 400 - title: Build process - regexp: ^.*?(build|ci)(\(.+\))??!?:.+$ + regexp: ^(build|ci).*$ order: 500 - title: Other work order: 999 From 890664d29db6ca9581c8549a545c69addd57c5e1 Mon Sep 17 00:00:00 2001 From: DeadNews Date: Sun, 7 Apr 2024 21:58:42 +0700 Subject: [PATCH 8/9] chore(release): prepare for v2.0.6-beta.3 --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6e337dd..74d4eb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,9 +1,10 @@ # Changelog -## [2.0.6-beta.2](https://github.com/DeadNews/deadnews-template-go/compare/v2.0.5...v2.0.6-beta.2) - 2024-04-07 +## [2.0.6-beta.3](https://github.com/DeadNews/deadnews-template-go/compare/v2.0.5...v2.0.6-beta.3) - 2024-04-07 ### ⚙️ CI/CD +- _(github)_ update `goreleaser` job - ([4d6fe92](https://github.com/DeadNews/deadnews-template-go/commit/4d6fe92cf7241612728dd241ccb24ee74f64ce1a)) - _(github)_ update `goreleaser` job - ([bb9f67f](https://github.com/DeadNews/deadnews-template-go/commit/bb9f67f62e0b148933ff91a89ea370338d89faa7)) - _(github)_ update `goreleaser` job - ([089506b](https://github.com/DeadNews/deadnews-template-go/commit/089506b46364903e0dbf8b181994f3f92cdd510f)) - _(github)_ update `goreleaser` job - ([db6c6ca](https://github.com/DeadNews/deadnews-template-go/commit/db6c6caa4baa7daaffdc26e2bae679234ec632e4)) From b2d3c58971e7a1873e5120f14ffd1b14ea424e24 Mon Sep 17 00:00:00 2001 From: DeadNews Date: Sun, 7 Apr 2024 22:08:58 +0700 Subject: [PATCH 9/9] ci(github): update `goreleaser` job --- .goreleaser.yaml | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index f696704..0391f9f 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -14,27 +14,6 @@ changelog: - ^chore - ^test" - ^(ci|build|chore)\(deps.*\) - groups: - - title: Dependencies - regexp: ^fix\(deps.*\).* - order: 300 - - title: Features - regexp: ^feat.* - order: 100 - - title: Security - regexp: ^sec.* - order: 150 - - title: Bug fixes - regexp: ^(fix|refactor).* - order: 200 - - title: Documentation - regexp: ^docs.* - order: 400 - - title: Build process - regexp: ^(build|ci).*$ - order: 500 - - title: Other work - order: 999 nfpms: - id: "{{ .ProjectName }}"