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

Commit 00fa055

Browse files
committed
Make dep RegEx more lenient to catch future version numbers
1 parent 3309ba3 commit 00fa055

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build/build-pcl.proj

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

8080
<!--Update Min Dependency Version -->
8181
<RegexTransform Include="$(NuGetPackageDir)/**/*.nuspec">
82-
<Find>version="4.0"</Find>
82+
<Find>version="4\.0[^"]*"</Find>
8383
<ReplaceWith>version="$(NuGetVersion)"</ReplaceWith>
8484
</RegexTransform>
8585

build/build-sn.proj

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

7878
<!--Update Min Dependency Version -->
7979
<RegexTransform Include="$(NuGetPackageDir)/**/*.nuspec">
80-
<Find>version="4.0"</Find>
80+
<Find>version="4\.0[^"]*"</Find>
8181
<ReplaceWith>version="$(NuGetVersion)"</ReplaceWith>
8282
</RegexTransform>
8383

build/build.proj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
</RegexTransform>
7979
<!--Update Min Dependency Version -->
8080
<RegexTransform Include="$(NuGetPackageDir)/**/*.nuspec">
81-
<Find>version="4.0"</Find>
81+
<Find>version="4\.0[^"]*"</Find>
8282
<ReplaceWith>version="$(NuGetVersion)"</ReplaceWith>
8383
</RegexTransform>
8484
</ItemGroup>

0 commit comments

Comments
 (0)