Skip to content

Commit acb721d

Browse files
authored
Further refine bin path and sign pattern (#3151)
1 parent f913804 commit acb721d

File tree

4 files changed

+12
-3
lines changed

4 files changed

+12
-3
lines changed

eng/ci/templates/jobs/build.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,10 @@ jobs:
5050
- template: ci/sign-files.yml@eng
5151
parameters:
5252
displayName: Sign assemblies
53-
folderPath: out/bin
53+
folderPath: out/bin/src
5454
minimatch: true
5555
pattern: |
5656
**/Microsoft.Azure.WebJobs*.dll
57-
!**/*Test*.dll
5857
signType: dll-strong-name
5958

6059
- task: DotNetCoreCLI@2

sample/Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Condition="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../')) != ''" />
55

66
<PropertyGroup>
7-
<ArtifactsPath>$(MSBuildThisFileDirectory)/out</ArtifactsPath>
7+
<ArtifactsBinOutputName>bin/sample</ArtifactsBinOutputName>
88
</PropertyGroup>
99

1010
</Project>

src/Directory.Build.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
<PropertyGroup>
66
<IsPackable>true</IsPackable>
7+
<ArtifactsBinOutputName>bin/src</ArtifactsBinOutputName>
78
</PropertyGroup>
89

910
</Project>

test/Directory.Build.props

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project>
2+
<Import Project="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../'))"
3+
Condition="$([MSBuild]::GetPathOfFileAbove('Directory.Build.props', '$(MSBuildThisFileDirectory)../')) != ''" />
4+
5+
<PropertyGroup>
6+
<ArtifactsBinOutputName>bin/test</ArtifactsBinOutputName>
7+
</PropertyGroup>
8+
9+
</Project>

0 commit comments

Comments
 (0)