File tree 1 file changed +5
-6
lines changed
.github/workflows/actions/publish-npm
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 56
56
57
57
- name : Create Changelog
58
58
if : inputs.tag == 'latest'
59
- run : git log --pretty=format:"%h %ad %s [%an]" --date=short $(git describe --tags --abbrev=0)..HEAD | npx git-conventional-commits changelog --config ./.github/git-conventional-commits.yml > CHANGELOG.md
59
+ run : |
60
+ LAST_TAG=$(git describe --tags --abbrev=0)
61
+ echo "Create Changelog $LAST_TAG..HEAD"
62
+ git log --pretty=format:"%h %ad %s [%an]" --date=short $LAST_TAG..HEAD | npx git-conventional-commits changelog --config ./.github/git-conventional-commits.yml > CHANGELOG.md
63
+ cat CHANGELOG.md
60
64
shell : bash
61
65
62
66
- name : Bump Version
@@ -96,11 +100,6 @@ runs:
96
100
run : git --no-pager diff
97
101
shell : bash
98
102
99
- - name : Log Generated Changes
100
- if : inputs.tag == 'latest'
101
- run : cat CHANGELOG.md
102
- shell : bash
103
-
104
103
# Log the git status for easy debugging
105
104
- name : Log Status
106
105
run : git status
You can’t perform that action at this time.
0 commit comments