Skip to content

Commit

Permalink
Documents inherit field (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
AArnott committed Dec 6, 2017
1 parent a67c8fb commit d116b7b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/versionJson.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The content of the version.json file is a JSON serialized object with these prop

```js
{
"version": "x.y-prerelease", // required
"version": "x.y-prerelease", // required (unless the "inherit" field is set to true and a parent version.json file sets this.)
"assemblyVersion": "x.y", // optional. Use when x.y for AssemblyVersionAttribute differs from the default version property.
"buildNumberOffset": "zOffset", // optional. Use when you need to add/subtract a fixed value from the computed build number.
"semVer1NumericIdentifierPadding": 4, // optional. Use when your -prerelease includes numeric identifiers and need semver1 support.
Expand All @@ -41,7 +41,8 @@ The content of the version.json file is a JSON serialized object with these prop
"where": "buildMetadata"
}
}
}
},
"inherit": false // optional. Set to true in secondary version.json files used to tweak settings for subsets of projects.
}
```

Expand Down

0 comments on commit d116b7b

Please sign in to comment.