Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions builds/azure-pipelines/build-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ stages:
parameters:
solution: '$(solution)'
configuration: '$(configuration)'
nugetVersion: '1.0.0-test'
binariesVersion: '1.0.0'
supportedVersion: '1.*-*'
nugetVersion: '99.99.99-test'
binariesVersion: '99.99.99'
supportedVersion: '99.99.99'
6 changes: 3 additions & 3 deletions src/Microsoft.Azure.WebJobs.Extensions.Sql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@
<Target Name="PackAndCopyNupkg" AfterTargets="Build">
<!-- Removed the GeneratePackageOnBuild and adding this explicit Pack command to run post build
and also adding the copy package to local-packages to be available for the worker extension project. -->
<Exec Command="dotnet pack &quot;$(MSBuildProjectDirectory)\$(PackageId).csproj&quot; --no-build --include-symbols" />
<Exec Command="dotnet pack &quot;$(MSBuildProjectDirectory)\$(PackageId).csproj&quot; --no-build --include-symbols -p:Version=$(Version)" />
<ItemGroup>
<_Packages Include=".\bin\$(Configuration)\*.nupkg" />
</ItemGroup>
<Copy SourceFiles="@(_Packages)" DestinationFolder="..\local-packages" />
<Message Text="Copied sql .nupkg to local-packages" Importance="high" />
</Target>
<Target Name="RemoveNugetPackageCache" BeforeTargets="Build">
<RemoveDir Directories="$(NugetPackageRoot)\$(PackageId.ToLower())\99.99.99"></RemoveDir>
<Message Text="Deleted nuget cache for $(PackageId.ToLower())\99.99.99" Importance="high" />
<RemoveDir Directories="$(NugetPackageRoot)\$(PackageId.ToLower())\$(Version)"></RemoveDir>
<Message Text="Deleted nuget cache for $(PackageId.ToLower())\$(Version)" Importance="high" />
</Target>
</Project>