From 6e0aea92a01fb1201edd7cda9d4f0ba0c2fcb96d Mon Sep 17 00:00:00 2001 From: Mingxin Wang Date: Mon, 18 Aug 2025 14:59:13 +0800 Subject: [PATCH] Fix regex --- .github/workflows/pipeline-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pipeline-release.yml b/.github/workflows/pipeline-release.yml index 19edc47d..67778741 100644 --- a/.github/workflows/pipeline-release.yml +++ b/.github/workflows/pipeline-release.yml @@ -14,7 +14,7 @@ jobs: - name: pack source id: run-pack run: | - version=$(grep -oP 'msft_proxy\s+VERSION\s+\K[0-9]+\.[0-9]+\.[0-9]+' CMakeLists.txt) + version=$(grep -oP 'msft_proxy\d+\s+VERSION\s+\K[0-9]+\.[0-9]+\.[0-9]+' CMakeLists.txt) git tag "$version" git push origin "$version" tar -czf "proxy-$version.tgz" $(git ls-files 'include/**.h' 'include/**.ixx')