Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 7c88d65

Browse files
committed
Use more tolerant regex to replace NuGet version
1 parent 3b794e0 commit 7c88d65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/build.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868

6969
<!--Update Min Dependency Version -->
7070
<RegexTransform Include="$(NuGetPackageDir)/**/*.nuspec">
71-
<Find>version="5\.0(\.\d+)?"</Find>
71+
<Find>version="5\.[^"]*"</Find>
7272
<ReplaceWith>version="$(PackageVersion)"</ReplaceWith>
7373
</RegexTransform>
7474
</ItemGroup>

0 commit comments

Comments
 (0)