Change SiteExtension artifact location (#7108)

* Change SiteExtension artifact location

* Add exclusions

* Reuse main version logic
This commit is contained in:
Pavel Krymets 2019-01-29 15:00:35 -08:00 committed by Murat Girgin
parent ec8a4da9bb
commit 6e8284711c
5 changed files with 6 additions and 14 deletions

View File

@ -30,7 +30,7 @@ phases:
displayName: Upload artifacts
condition: eq(variables['system.pullrequest.isfork'], false)
inputs:
pathtoPublish: ./src/SiteExtensions/LoggingAggregate/artifacts/
pathtoPublish: ./artifacts/
artifactName: artifacts-Windows-Release
artifactType: Container
- task: MicroBuildCleanup@1

View File

@ -30,6 +30,8 @@
<FilesToExcludeFromSigning Include="$(BaseRedistNetCorePath)win-x86\host\**\*.dll" />
<FilesToExcludeFromSigning Include="$(BaseRedistNetCorePath)win-arm\host\**\*.dll" />
<FilesToExcludeFromSigning Include="$(RedistNetCorePath)dotnet.exe" />
<FilesToExcludeFromSigning Include="hostpolicy.dll" />
<FilesToExcludeFromSigning Include="hostfxr.dll" />
</ItemGroup>
</Target>
</Project>

View File

@ -3,10 +3,11 @@
<!-- Not including parent is intentional, this build should be isolated -->
<Import Project="build\sources.props" />
<Import Project="build\dependencies.props" />
<Import Project="version.props" />
<Import Project="..\..\..\version.props" />
<PropertyGroup>
<PackageOutputPath>$(MSBuildThisFileDirectory)artifacts\</PackageOutputPath>
<!-- temporary until site extension build moves into the main build -->
<PackageOutputPath>$(MSBuildThisFileDirectory)..\..\..\artifacts\packages\$(Configuration)\shipping</PackageOutputPath>
</PropertyGroup>
</Project>

View File

@ -1 +0,0 @@
content/store/*/apphost.exe;Microsoft.AspNetCore.AzureAppServices.SiteExtension.*.nupkg; Exclude the apphost because this is expected to be code-signed by customers after the SDK modifies it.

View File

@ -1,10 +0,0 @@
<Project>
<PropertyGroup>
<VersionPrefix>3.0.0</VersionPrefix>
<VersionSuffix>alpha</VersionSuffix>
<PackageVersion Condition="'$(IsFinalBuild)' == 'true'">$(VersionPrefix)</PackageVersion>
<BuildNumber Condition="'$(BuildNumber)' == ''">t000</BuildNumber>
<FeatureBranchVersionPrefix Condition="'$(FeatureBranchVersionPrefix)' == ''">a-</FeatureBranchVersionPrefix>
<VersionSuffix Condition="'$(VersionSuffix)' != '' And '$(BuildNumber)' != ''">$(VersionSuffix)-$(BuildNumber)</VersionSuffix>
</PropertyGroup>
</Project>