Skip to content

Commit 9fbab20

Browse files
author
Oren Novotny
committed
Update docs
1 parent 3389725 commit 9fbab20

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The global configuration options are:
1818

1919
- **`next-version:`** Allows you to bump the next version explicitly, useful for bumping `master` or a feature with breaking changes a major increment.
2020

21-
- **`assembly-versioning-scheme:`** When updating assembly info tells GitVersion how to treat the `AssemblyVersion` attribute. Useful to lock the major when using Strong Naming.
21+
- **`assembly-versioning-scheme:`** When updating assembly info tells GitVersion how to treat the `AssemblyVersion` attribute. Useful to lock the major when using Strong Naming. Note: you can use `None` to skip updating the `AssemblyVersion` while still updating the `AssemblyFileVersion` and `AssemblyInformationVersion` attributes.
2222

2323
- **`assembly-informational-format:`** Set this to any of the available [variables](/more-info/variables) to change the value of the `AssemblyInformationalVersion` attribute. Default set to `{InformationalVersion}`. It also supports string interpolation (`{MajorMinorPatch}+{Branch}`)
2424

docs/usage/command-line.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,6 @@ This can be done for *.cs, *.vb and *.fs files.
3636

3737
When requesting that GitVersion generate an assembly info file you are limited to only specifying a single `<filename>` within the `/updateassemblyinfo` switch, this is to prevent the creation of mulitple assembly info files with the same assembly version attributes. If this occurs your build will fail.
3838

39-
Optionally, you can have GitVersion skip/ignore an `AssemblyVersion` attribute with the `/excludeUpdateAssemblyVersion` switch. This may be useful in cases where strict control is needed over the `AssemblyVersion` for binding redirects.
40-
4139
### Example: When AssemblyInfo.cs does not exist
4240
`GitVersion.exe /updateassemblyinfo AssemblyInfo.cs /ensureassemblyinfo`
4341

@@ -48,11 +46,6 @@ A file is generated that contains version attributes (`AssemblyVersion`, `Assemb
4846

4947
All known attributes (`AssemblyVersion`, `AssemblyFileVersion`, `AssemblyInformationalVersion`) will be updated
5048

51-
### Example: When AssemblyInfo.cs already exists
52-
`GitVersion.exe /updateassemblyinfo AssemblyInfo.cs /ensureassemblyinfo /excludeUpdateAssemblyVersion`
53-
54-
Some attributes (`AssemblyFileVersion`, `AssemblyInformationalVersion`) will be updated, `AssemblyVersion` will be ignored.
55-
5649
### Example: When AssemblyInfo.cs and AssemblyVersionInfo.cs do not exist
5750
`GitVersion.exe /updateassemblyinfo AssemblyInfo.cs AssemblyVersionInfo.cs /ensureassemblyinfo`
5851

0 commit comments

Comments
 (0)