Skip to content

Commit f913804

Browse files
authored
Fix signing directory (#3150)
* Fix signing directory * Fix inconsistent versioning
1 parent a740327 commit f913804

File tree

4 files changed

+20
-3
lines changed

4 files changed

+20
-3
lines changed

eng/ci/templates/jobs/build.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@ jobs:
5050
- template: ci/sign-files.yml@eng
5151
parameters:
5252
displayName: Sign assemblies
53-
folderPath: src
54-
pattern: Microsoft.Azure.WebJobs*.dll
53+
folderPath: out/bin
54+
minimatch: true
55+
pattern: |
56+
**/Microsoft.Azure.WebJobs*.dll
57+
!**/*Test*.dll
5558
signType: dll-strong-name
5659

5760
- task: DotNetCoreCLI@2

sample/Directory.Build.props

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

test/Microsoft.Azure.WebJobs.Host.UnitTests/WebJobs.Host.UnitTests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<PropertyGroup>
44
<!-- This project needs a static version number for the HostId checks, which are based on the version -->
5-
<Version>3.0.0$(VersionSuffix)</Version>
65
<TargetFramework>net8.0</TargetFramework>
76
<IsPackable>false</IsPackable>
87
<AssemblyName>Microsoft.Azure.WebJobs.Host.UnitTests</AssemblyName>

0 commit comments

Comments
 (0)