File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,6 @@ stages:
4444 parameters :
4545 solution : ' $(solution)'
4646 configuration : ' $(configuration)'
47- nugetVersion : ' 1.0.0 -test'
48- binariesVersion : ' 1.0.0 '
49- supportedVersion : ' 1.*-* '
47+ nugetVersion : ' 99.99.99 -test'
48+ binariesVersion : ' 99.99.99 '
49+ supportedVersion : ' 99.99.99 '
Original file line number Diff line number Diff line change 3636 <Target Name =" PackAndCopyNupkg" AfterTargets =" Build" >
3737 <!-- Removed the GeneratePackageOnBuild and adding this explicit Pack command to run post build
3838 and also adding the copy package to local-packages to be available for the worker extension project. -->
39- <Exec Command =" dotnet pack " $(MSBuildProjectDirectory)\$(PackageId).csproj" --no-build --include-symbols" />
39+ <Exec Command =" dotnet pack " $(MSBuildProjectDirectory)\$(PackageId).csproj" --no-build --include-symbols -p:Version=$(Version) " />
4040 <ItemGroup >
4141 <_Packages Include =" .\bin\$(Configuration)\*.nupkg" />
4242 </ItemGroup >
4343 <Copy SourceFiles =" @(_Packages)" DestinationFolder =" ..\local-packages" />
4444 <Message Text =" Copied sql .nupkg to local-packages" Importance =" high" />
4545 </Target >
4646 <Target Name =" RemoveNugetPackageCache" BeforeTargets =" Build" >
47- <RemoveDir Directories =" $(NugetPackageRoot)\$(PackageId.ToLower())\99.99.99 " ></RemoveDir >
48- <Message Text =" Deleted nuget cache for $(PackageId.ToLower())\99.99.99 " Importance =" high" />
47+ <RemoveDir Directories =" $(NugetPackageRoot)\$(PackageId.ToLower())\$(Version) " ></RemoveDir >
48+ <Message Text =" Deleted nuget cache for $(PackageId.ToLower())\$(Version) " Importance =" high" />
4949 </Target >
5050</Project >
You can’t perform that action at this time.
0 commit comments