Skip to content

Commit 5e5ea0a

Browse files
authored
Merge pull request #97 from Umplify:issue_95
Fixed the release build issue #95
2 parents dd9d9b5 + 24af1b9 commit 5e5ea0a

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

azure-pipeline-PR.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,11 @@ steps:
3333
command: 'build'
3434
projects: '**/Xunit.Microsoft.DependencyInjection.csproj'
3535
arguments: '--configuration $(BuildConfiguration)'
36+
- task: NuGetCommand@2
37+
displayName: 'Packing'
38+
inputs:
39+
command: 'pack'
40+
packagesToPack: '**/Xunit.Microsoft.DependencyInjection.csproj'
41+
versioningScheme: 'byEnvVar'
42+
versionEnvVar: 'Build.BuildNumber'
3643

src/package.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<metadata>
44
<id>Xunit.Microsoft.DependencyInjection</id>
55
<title>Microsoft Dependency Injection utility for Xunit</title>
6-
<version>1.0</version>
6+
<version>2.0</version>
77
<authors>Arash Sabet</authors>
88
<owners>Umplify Technologies Inc.</owners>
99
<licenseUrl>https://github.com/Umplify/xunit-dependency-injection/blob/main/LICENSE</licenseUrl>
@@ -12,6 +12,6 @@
1212
<requireLicenseAcceptance>true</requireLicenseAcceptance>
1313
<description>This package contains the necessary classes and features to leverage Xunit's fixture class for Microsoft dependency inection framework.</description>
1414
<copyright>2022 - All rights reserved, Umplify Technologies Inc.</copyright>
15-
<tags>xunit dependency-injection microsoft-dependency-injection< xunit-dependency-injection</tags>
15+
<tags>xunit dependency-injection microsoft-dependency-injection xunit-dependency-injection</tags>
1616
</metadata>
1717
</package>

0 commit comments

Comments
 (0)