This repository was archived by the owner on Dec 24, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change 15
15
<Configuration Condition =" $(Configuration) == ''" >Release</Configuration >
16
16
<NuGetPath >$(BuildSolutionDir)/src/.nuget/nuget.exe</NuGetPath >
17
17
<NuGetPackageDir >$(BuildSolutionDir)/NuGet.Pcl/</NuGetPackageDir >
18
+ <NuGetVersion >$(MajorVersion).$(MinorVersion).$(PatchVersion)</NuGetVersion >
18
19
<Version >$(MajorVersion).$(MinorVersion).$(PatchVersion).0</Version >
19
20
<UnstableTag Condition =" $(RELEASE) == ''" >-unstable</UnstableTag >
20
21
<PackageVersion >$(MajorVersion).$(MinorVersion).$(PatchVersion)$(UnstableTag)</PackageVersion >
75
76
<Find >ServiceStackVersion = \d+\.\d+m;</Find >
76
77
<ReplaceWith >ServiceStackVersion = $(EnvVersion)m;</ReplaceWith >
77
78
</RegexTransform >
79
+
80
+ <!-- Update Min Dependency Version -->
81
+ <RegexTransform Include =" $(NuGetPackageDir)/**/*.nuspec" >
82
+ <Find >version="4.0"</Find >
83
+ <ReplaceWith >version="$(NuGetVersion)"</ReplaceWith >
84
+ </RegexTransform >
85
+
78
86
</ItemGroup >
79
87
80
88
<RegexTransform Items =" @(RegexTransform)" />
Original file line number Diff line number Diff line change 15
15
<Configuration Condition =" $(Configuration) == ''" >Signed</Configuration >
16
16
<NuGetPath >$(BuildSolutionDir)/src/.nuget/nuget.exe</NuGetPath >
17
17
<NuGetPackageDir >$(BuildSolutionDir)/NuGet.Signed/</NuGetPackageDir >
18
+ <NuGetVersion >$(MajorVersion).$(MinorVersion).$(PatchVersion)</NuGetVersion >
18
19
<Version >$(MajorVersion).$(MinorVersion).$(PatchVersion).0</Version >
19
20
<UnstableTag Condition =" $(RELEASE) == ''" >-unstable</UnstableTag >
20
21
<PackageVersion >$(MajorVersion).$(MinorVersion).$(PatchVersion)$(UnstableTag)</PackageVersion >
74
75
</RegexTransform >
75
76
</ItemGroup >
76
77
78
+ <!-- Update Min Dependency Version -->
79
+ <RegexTransform Include =" $(NuGetPackageDir)/**/*.nuspec" >
80
+ <Find >version="4.0"</Find >
81
+ <ReplaceWith >version="$(NuGetVersion)"</ReplaceWith >
82
+ </RegexTransform >
83
+
77
84
<RegexTransform Items =" @(RegexTransform)" />
78
85
</Target >
79
86
Original file line number Diff line number Diff line change 15
15
<Configuration Condition =" $(Configuration) == ''" >Release</Configuration >
16
16
<NuGetPath >$(BuildSolutionDir)/src/.nuget/nuget.exe</NuGetPath >
17
17
<NuGetPackageDir >$(BuildSolutionDir)/NuGet/</NuGetPackageDir >
18
+ <NuGetVersion >$(MajorVersion).$(MinorVersion).$(PatchVersion)</NuGetVersion >
18
19
<Version >$(MajorVersion).$(MinorVersion).$(PatchVersion).0</Version >
19
20
<UnstableTag Condition =" $(RELEASE) == ''" >-unstable</UnstableTag >
20
21
<PackageVersion >$(MajorVersion).$(MinorVersion).$(PatchVersion)$(UnstableTag)</PackageVersion >
75
76
<Find >key="servicestack:license".*</Find >
76
77
<ReplaceWith >key="servicestack:license" value="$([System.IO.File]::ReadAllText($(MSBuildProjectDirectory)/appsettings.license.txt))" /> </ReplaceWith >
77
78
</RegexTransform >
79
+ <!-- Update Min Dependency Version -->
80
+ <RegexTransform Include =" $(NuGetPackageDir)/**/*.nuspec" >
81
+ <Find >version="4.0"</Find >
82
+ <ReplaceWith >version="$(NuGetVersion)"</ReplaceWith >
83
+ </RegexTransform >
78
84
</ItemGroup >
79
85
80
86
<RegexTransform Items =" @(RegexTransform)" />
You can’t perform that action at this time.
0 commit comments