Skip to content

Commit bb7b195

Browse files
authored
Merge branch 'master' into bugfix/1257
2 parents 9491472 + 6d90d26 commit bb7b195

File tree

107 files changed

+1112
-2292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1112
-2292
lines changed

docs/configuration.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ legacy-semver-padding: 4
4444
build-metadata-padding: 4
4545
commits-since-version-source-padding: 4
4646
commit-message-incrementing: Enabled
47+
commit-date-format: 'yyyy-MM-dd'
4748
ignore:
4849
sha: []
4950
commits-before: yyyy-MM-ddTHH:mm:ss
@@ -60,19 +61,21 @@ When updating assembly info, `assembly-versioning-scheme` tells GitVersion how
6061
to treat the `AssemblyVersion` attribute. Useful to lock the major when using
6162
Strong Naming. Note: you can use `None` to skip updating the `AssemblyVersion`
6263
while still updating the `AssemblyFileVersion` and `AssemblyInformationVersion`
63-
attributes.
64+
attributes. Valid values: `MajorMinorPatchTag`, `MajorMinorPatch`, `MajorMinor`,
65+
`Major`, `None`.
6466

6567
### assembly-file-versioning-scheme
6668
When updating assembly info, `assembly-file-versioning-scheme` tells GitVersion how
6769
to treat the `AssemblyFileVersion` attribute. Note: you can use `None` to skip updating the `AssemblyFileVersion`
6870
while still updating the `AssemblyVersion` and `AssemblyInformationVersion`
69-
attributes.
71+
attributes. Valid values: `MajorMinorPatchTag`, `MajorMinorPatch`, `MajorMinor`,
72+
`Major`, `None`.
7073

7174
### assembly-informational-format
7275
Set this to any of the available [variables](/more-info/variables) to change the
7376
value of the `AssemblyInformationalVersion` attribute. Default set to
7477
`{InformationalVersion}`. It also supports string interpolation
75-
(`{MajorMinorPatch}+{Branch}`)
78+
(`{MajorMinorPatch}+{BranchName}`)
7679

7780
### mode
7881
Sets the `mode` of how GitVersion should create a new version. Read more at
@@ -134,6 +137,9 @@ Sets whether it should be possible to increment the version with special syntax
134137
in the commit message. See the `*-version-bump-message` options above for
135138
details on the syntax. Default set to `Enabled`; set to `Disabled` to disable.
136139

140+
### commit-date-format
141+
Sets the format which will be used to format the `CommitDate` output variable.
142+
137143
### ignore
138144
The header for ignore configuration.
139145

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
//------------------------------------------------------------------------------
2+
// <auto-generated>
3+
// This code was generated by a tool.
4+
// GitVersion
5+
//
6+
// Changes to this file may cause incorrect behavior and will be lost if
7+
// the code is regenerated.
8+
// </auto-generated>
9+
//------------------------------------------------------------------------------
10+
11+
[global::System.Runtime.CompilerServices.CompilerGenerated]
12+
static class GitVersionInformation
13+
{
14+
public static string Major = "1";
15+
public static string Minor = "2";
16+
public static string Patch = "3";
17+
public static string PreReleaseTag = "unstable.4";
18+
public static string PreReleaseTagWithDash = "-unstable.4";
19+
public static string PreReleaseLabel = "unstable";
20+
public static string PreReleaseNumber = "4";
21+
public static string BuildMetaData = "5";
22+
public static string BuildMetaDataPadded = "0005";
23+
public static string FullBuildMetaData = "5.Branch.feature1.Sha.commitSha";
24+
public static string MajorMinorPatch = "1.2.3";
25+
public static string SemVer = "1.2.3-unstable.4";
26+
public static string LegacySemVer = "1.2.3-unstable4";
27+
public static string LegacySemVerPadded = "1.2.3-unstable0004";
28+
public static string AssemblySemVer = "1.2.3.0";
29+
public static string AssemblySemFileVer = "1.2.3.0";
30+
public static string FullSemVer = "1.2.3-unstable.4+5";
31+
public static string InformationalVersion = "1.2.3-unstable.4+5.Branch.feature1.Sha.commitSha";
32+
public static string BranchName = "feature1";
33+
public static string Sha = "commitSha";
34+
public static string NuGetVersionV2 = "1.2.3-unstable0004";
35+
public static string NuGetVersion = "1.2.3-unstable0004";
36+
public static string NuGetPreReleaseTagV2 = "unstable0004";
37+
public static string NuGetPreReleaseTag = "unstable0004";
38+
public static string CommitsSinceVersionSource = "5";
39+
public static string CommitsSinceVersionSourcePadded = "0005";
40+
public static string CommitDate = "2014-03-06";
41+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
// You can modify this code as we will not overwrite it when re-executing GitVersion
66
// </auto-generated>
77
//------------------------------------------------------------------------------
8+
namespace GitVersionAssemblyInfoFile
89

910
open System.Reflection
1011

0 commit comments

Comments
 (0)