Skip to content

Commit b20ab0f

Browse files
fix(ci): debug pipeline
1 parent 64c23c8 commit b20ab0f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

.github/workflows/actions/publish-npm/action.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,11 @@ runs:
5656

5757
- name: Create Changelog
5858
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
6064
shell: bash
6165

6266
- name: Bump Version
@@ -96,11 +100,6 @@ runs:
96100
run: git --no-pager diff
97101
shell: bash
98102

99-
- name: Log Generated Changes
100-
if: inputs.tag == 'latest'
101-
run: cat CHANGELOG.md
102-
shell: bash
103-
104103
# Log the git status for easy debugging
105104
- name: Log Status
106105
run: git status

0 commit comments

Comments
 (0)