Skip to content

Commit

Permalink
fix: solve issue that unexpected changelog-not-modified warning is pr…
Browse files Browse the repository at this point in the history
…inted (#31)
  • Loading branch information
0xWOF authored Oct 8, 2024
2 parents 828945e + cb7950d commit db91c45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/gitflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,6 @@ jobs:
git commit -m "document: add Unreleased to ${{ env.CHANGELOG }}"; \
git push; \
) \
&& (echo 'warning=changelog-not-modified' >> $GITHUB_OUTPUT; exit 0) \
|| (echo 'failure=changelog-not-contains-unreleased' >> $GITHUB_OUTPUT; exit 1)
git diff --name-only ${{ env.DESTINATION_COMMIT }} \
| grep --fixed-strings '${{ env.CHANGELOG }}' \
Expand Down
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.3.2

- fix: solve issue that unexpected changelog-not-modified warning is printed

## 2.3.1

- fix: solve issue that auto-unreleased-commit feature is not working
Expand Down

0 comments on commit db91c45

Please sign in to comment.