Skip to content

Commit

Permalink
fix: solve issue that CHANGELOG input is not used on everywhere (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xWOF authored Jun 27, 2024
2 parents 56c0f49 + 1898ff8 commit 3806106
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gitflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ jobs:
&& (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 --perl-regexp 'changelog\.md' \
| grep --fixed-strings '${{ env.CHANGELOG }}' \
|| (echo 'warning=changelog-not-modified' >> $GITHUB_OUTPUT; exit 0)
- name: If fail on check feature branch
Expand Down
6 changes: 5 additions & 1 deletion changelog.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
## 2.2.3

- fix: solve issue that CHANGELOG input is not used on everywhere

## 2.2.2

- document: add Unreleased to changelog.md
- feature: add Unreleased to changelog if necessary

## 2.2.1

Expand Down

0 comments on commit 3806106

Please sign in to comment.