fix(nuget): fixing packaging and versioning

This commit is contained in:
Dylan R. E. Moonfire 2021-09-11 13:35:07 -05:00
parent 7a9b77b4ad
commit 7bc5aacc4b
4 changed files with 21 additions and 10 deletions

14
package-lock.json generated
View file

@ -17,7 +17,7 @@
"husky": "^7.0.2",
"semantic-release": "^17.4.7",
"semantic-release-dotnet": "^1.0.0",
"semantic-release-nuget": "^1.1.0"
"semantic-release-nuget": "^1.1.1"
}
},
"node_modules/@babel/code-frame": {
@ -6788,9 +6788,9 @@
}
},
"node_modules/semantic-release-nuget": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/semantic-release-nuget/-/semantic-release-nuget-1.1.0.tgz",
"integrity": "sha512-Eaqb39E+dPTgYgHif0/P6cUj7IxZxI9e2BgmfE+NkRlPArpRPa94UZTi8UFMbEKiKg0IaNnAO79yexUPcZnuHA==",
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/semantic-release-nuget/-/semantic-release-nuget-1.1.1.tgz",
"integrity": "sha512-FtkGKQKSPLCelMBh3q0eIKRban6mnDiWT3n4vukP11h3dov2lp7Ij36YbsXUX0pKrdlcS/bWPjzpgKrSHQ4hrg==",
"dev": true
},
"node_modules/semantic-release/node_modules/get-stream": {
@ -11946,9 +11946,9 @@
}
},
"semantic-release-nuget": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/semantic-release-nuget/-/semantic-release-nuget-1.1.0.tgz",
"integrity": "sha512-Eaqb39E+dPTgYgHif0/P6cUj7IxZxI9e2BgmfE+NkRlPArpRPa94UZTi8UFMbEKiKg0IaNnAO79yexUPcZnuHA==",
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/semantic-release-nuget/-/semantic-release-nuget-1.1.1.tgz",
"integrity": "sha512-FtkGKQKSPLCelMBh3q0eIKRban6mnDiWT3n4vukP11h3dov2lp7Ij36YbsXUX0pKrdlcS/bWPjzpgKrSHQ4hrg==",
"dev": true
},
"semver": {

View file

@ -16,6 +16,6 @@
"husky": "^7.0.2",
"semantic-release": "^17.4.7",
"semantic-release-dotnet": "^1.0.0",
"semantic-release-nuget": "^1.1.0"
"semantic-release-nuget": "^1.1.1"
}
}

View file

@ -5,12 +5,16 @@ module.exports = {
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"semantic-release-dotnet",
{
paths: ["src/Directory.Build.props"],
}
[
"semantic-release-nuget",
{
packArguments: ["--include-symbols", "--include-source"],
pushFiles: ["bin/*.nupkg"],
pushFiles: ["src/*/bin/Debug/*.nupkg"],
},
],
"@semantic-release/changelog",

View file

@ -0,0 +1,7 @@
<Project>
<PropertyGroup>
<Version>1.5.3</Version>
</PropertyGroup>
</Project>