Skip to content

Commit

Permalink
Merge pull request #74 from LedgerHQ/ci/fix/version
Browse files Browse the repository at this point in the history
[ci][fix] Version could be of several digits
  • Loading branch information
lpascal-ledger committed Dec 7, 2023
2 parents b51a197 + 91afeb6 commit aafc538
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ jobs:
- name: Check version against CHANGELOG
if: startsWith(github.ref, 'refs/tags/')
run: |
CHANGELOG_VERSION=$(grep -Po '(?<=## \[)(\d\.)+[^\]]' CHANGELOG.md | head -n 1)
CHANGELOG_VERSION=$(grep -Po '(?<=## \[)(\d+\.)+[^\]]' CHANGELOG.md | head -n 1)
if [ "${{ env.TAG_VERSION }}" == "${CHANGELOG_VERSION}" ]; \
then \
exit 0; \
Expand Down

0 comments on commit aafc538

Please sign in to comment.