Skip to content

Commit

Permalink
chore: update the limit go version and update release gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Jun 28, 2022
1 parent efc6d3f commit e12eb6f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: '## Change Log'
style: gh-release
# group names
names: [Refactor, Fixed, Feature, Update, Other]
repo_url: https://github.com/gookit/color
#repo_url: https://github.com/gookit/color

filters:
# message length should >= 12
Expand All @@ -30,7 +30,7 @@ rules:
contains: ['fix:']
- name: Feature
start_withs: [feat, new]
contains: [feature]
contains: ['feat:']
- name: Update
start_withs: [update, 'up:']
contains: [' update']
contains: ['update:']
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ jobs:
- name: Generate changelog
run: |
go install github.com/gookit/gitw/cmd/chlog@latest
chlog -config .github/changelog.yml -output changelog.md prev last
curl https://github.com/gookit/gitw/releases/latest/download/chlog-linux-amd64 -L -o /usr/local/bin/chlog
chmod a+x /usr/local/bin/chlog
chlog -c .github/changelog.yml -o changelog.md prev last
# https://github.com/softprops/action-gh-release
- name: Create release and upload assets
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/gookit/color

go 1.14
go 1.15

require (
github.com/stretchr/testify v1.7.5
Expand Down

0 comments on commit e12eb6f

Please sign in to comment.