From 70402e0f9262d69b217cbb9db78fc1a769e0e8e1 Mon Sep 17 00:00:00 2001 From: kormic911 Date: Sat, 13 Sep 2025 14:24:50 -0500 Subject: [PATCH] Fixing an issue with parsing of version numbers where 1.0.10 became 1.0.100 because it lacked multiple number parsing i.e. [0-9]+ --- .github/workflows/update-module-version.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-module-version.yaml b/.github/workflows/update-module-version.yaml index 174296c..26a70a1 100644 --- a/.github/workflows/update-module-version.yaml +++ b/.github/workflows/update-module-version.yaml @@ -32,7 +32,7 @@ jobs: - name: Modify DevSetup.psd1 to have the current version run: | - perl -pi -e 's/[0-9]\.[0-9]\.[0-9]/${{ steps.version_tracker.outputs.version }}/' DevSetup/DevSetup.psd1 + perl -pi -e 's/[0-9]+\.[0-9]+\.[0-9]+/${{ steps.version_tracker.outputs.version }}/' DevSetup/DevSetup.psd1 - name: Create Branch and Pull Request uses: peter-evans/create-pull-request@v7