Skip to content

Commit

Permalink
fix changelog check in publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
miaucl committed Oct 10, 2024
1 parent 50e7b77 commit c7a71b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
- name: Check changelog entry
run: |
if [ github.ref =~ 'refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+$' ]; then
if [[ github.ref =~ 'refs/tags/[0-9]+\\.[0-9]+\\.[0-9]+$' ]]; then
if ! grep -q "## $TAG_VERSION" CHANGELOG.md; then
echo "No changelog entry found for version $TAG_VERSION."
exit 1
Expand Down

0 comments on commit c7a71b1

Please sign in to comment.