Skip to content

Commit

Permalink
Stop building assembly version with revision precision
Browse files Browse the repository at this point in the history
This came from the master branch, which is unstable so revision-level precision is useful.
But in a stable v1.8 branch we really want major.minor precision only.
Doing so now makes the assembly version go *backwards* from 1.8.74.32478 (the last released package) to 1.8.0.0.
This is odd, but at this point we only have a small handful of downloads of the 1.8.74 package, so best to fix it now.
  • Loading branch information
AArnott committed Oct 30, 2019
1 parent de7ec6c commit 10c8609
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions version.json
@@ -1,9 +1,6 @@
{
"$schema": "https://raw.githubusercontent.com/AArnott/Nerdbank.GitVersioning/master/src/NerdBank.GitVersioning/version.schema.json",
"version": "1.8",
"assemblyVersion": {
"precision": "revision"
},
"publicReleaseRefSpec": [
"^refs/heads/master$",
"^refs/heads/v\\d+(?:.\\d+)?$"
Expand Down

0 comments on commit 10c8609

Please sign in to comment.