Skip to content

Commit

Permalink
Force semver 2 for nuget packages (coverlet-coverage#814)
Browse files Browse the repository at this point in the history
Force semver 2 for nuget packages
  • Loading branch information
MarcoRossignoli authored Apr 13, 2020
1 parent 9b8ae02 commit 168c330
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
1 change: 1 addition & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors>
<LangVersion>preview</LangVersion>
<NoWarn>$(NoWarn);NU5105</NoWarn>
<RestoreSources>
https://api.nuget.org/v3/index.json;
</RestoreSources>
Expand Down
5 changes: 4 additions & 1 deletion src/coverlet.collector/version.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"version": "1.3.0-preview.{height}",
"publicReleaseRefSpec": [
"^refs/heads/master$"
]
],
"nugetPackageVersion":{
"semVer": 2
}
}
5 changes: 4 additions & 1 deletion src/coverlet.console/version.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"version": "1.7.2-preview.{height}",
"publicReleaseRefSpec": [
"^refs/heads/master$"
]
],
"nugetPackageVersion":{
"semVer": 2
}
}
5 changes: 4 additions & 1 deletion src/coverlet.msbuild.tasks/version.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"version": "2.9.0-preview.{height}",
"publicReleaseRefSpec": [
"^refs/heads/master$"
]
],
"nugetPackageVersion":{
"semVer": 2
}
}

0 comments on commit 168c330

Please sign in to comment.