Skip to content

Commit e12eb6f

Browse files
committed
chore: update the limit go version and update release gh action
1 parent efc6d3f commit e12eb6f

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/changelog.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: '## Change Log'
33
style: gh-release
44
# group names
55
names: [Refactor, Fixed, Feature, Update, Other]
6-
repo_url: https://github.com/gookit/color
6+
#repo_url: https://github.com/gookit/color
77

88
filters:
99
# message length should >= 12
@@ -30,7 +30,7 @@ rules:
3030
contains: ['fix:']
3131
- name: Feature
3232
start_withs: [feat, new]
33-
contains: [feature]
33+
contains: ['feat:']
3434
- name: Update
3535
start_withs: [update, 'up:']
36-
contains: [' update']
36+
contains: ['update:']

.github/workflows/release.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,9 @@ jobs:
3535
3636
- name: Generate changelog
3737
run: |
38-
go install github.com/gookit/gitw/cmd/chlog@latest
39-
chlog -config .github/changelog.yml -output changelog.md prev last
38+
curl https://github.com/gookit/gitw/releases/latest/download/chlog-linux-amd64 -L -o /usr/local/bin/chlog
39+
chmod a+x /usr/local/bin/chlog
40+
chlog -c .github/changelog.yml -o changelog.md prev last
4041
4142
# https://github.com/softprops/action-gh-release
4243
- name: Create release and upload assets

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/gookit/color
22

3-
go 1.14
3+
go 1.15
44

55
require (
66
github.com/stretchr/testify v1.7.5

0 commit comments

Comments
 (0)