Skip to content

Commit

Permalink
Merge pull request #438 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 authored Dec 7, 2023
2 parents 5f0c8e7 + c075fb3 commit 1d5e6fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/continuous-integration-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/')
shell: bash
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 1d5e6fe

Please sign in to comment.