Skip to content

Commit 58c5095

Browse files
Fix missing Git commit
Add the Git commit SHA to the `.nuspec` for Swashbuckle.AspNetCore.
1 parent e527f15 commit 58c5095

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
id=$(PackageId);
2626
licenseExpression=$(PackageLicenseExpression);
2727
projectUrl=$(PackageProjectUrl);
28+
repositoryCommit=$(GITHUB_SHA);
2829
repositoryType=$(RepositoryType);
2930
repositoryUrl=$(RepositoryUrl);
3031
tags=$(PackageTags.Replace(';', ' '));

src/Swashbuckle.AspNetCore/Swashbuckle.AspNetCore.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<readme>docs\package-readme.md</readme>
1212
<description>$description$</description>
1313
<tags>$tags$</tags>
14-
<repository type="$repositoryType$" url="$repositoryUrl$" />
14+
<repository type="$repositoryType$" url="$repositoryUrl$" commit="$repositoryCommit$" />
1515
<dependencies>
1616
<group targetFramework=".NETCoreApp,Version=v8.0">
1717
<dependency id="Swashbuckle.AspNetCore.Swagger" version="$version$" exclude="Build,Analyzers" />

0 commit comments

Comments
 (0)