You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Added Vecc.YamlDotNet.Analyzers.StaticGenerator package
- Changed init properties to set properties to support source generator
- Created GitVersionConfigurationStaticContext for AOT compatibility
- Updated ConfigurationSerializer to use static serializer/deserializer
- Updated PublicAPI.Unshipped.txt with generated API surface
Co-authored-by: arturcic <[email protected]>
[JsonPropertyDescription("The label to use for this branch. Use the value {BranchName} or similar as a placeholder to insert a named capture group from RegularExpression (fx. the branch name).")]
15
-
publicstring?Label{get;internalinit;}
15
+
publicstring?Label{get;internalset;}
16
16
17
17
[JsonPropertyName("increment")]
18
18
[JsonPropertyDescription("The increment strategy for this branch. Can be 'Inherit', 'Patch', 'Minor', 'Major', 'None'.")]
[JsonPropertyDescription("Strategy which will look for tagged merge commits directly off the current branch.")]
30
-
publicbool?TrackMergeTarget{get;internalinit;}
30
+
publicbool?TrackMergeTarget{get;internalset;}
31
31
32
32
[JsonPropertyName("track-merge-message")]
33
33
[JsonPropertyDescription("This property is a branch related property and gives the user the possibility to control the behavior of whether the merge commit message will be interpreted as a next version or not.")]
34
-
publicbool?TrackMergeMessage{get;internalinit;}
34
+
publicbool?TrackMergeMessage{get;internalset;}
35
35
36
36
[JsonPropertyName("commit-message-incrementing")]
37
37
[JsonPropertyDescription("Sets whether it should be possible to increment the version with special syntax in the commit message. Can be 'Disabled', 'Enabled' or 'MergeMessageOnly'.")]
[JsonPropertyDescription("The base template of the configuration to use. Possible values are: 'GitFlow/v1' or 'GitHubFlow/v1'")]
13
-
publicstring?Workflow{get;internalinit;}
13
+
publicstring?Workflow{get;internalset;}
14
14
15
15
[JsonPropertyName("assembly-versioning-scheme")]
16
16
[JsonPropertyDescription($"The scheme to use when setting AssemblyVersion attribute. Can be 'MajorMinorPatchTag', 'MajorMinorPatch', 'MajorMinor', 'Major', 'None'. Defaults to '{NameOfDefaultAssemblyVersioningScheme}'.")]
[JsonPropertyDescription($"The scheme to use when setting AssemblyFileVersion attribute. Can be 'MajorMinorPatchTag', 'MajorMinorPatch', 'MajorMinor', 'Major', 'None'. Defaults to '{NameOfDefaultAssemblyFileVersioningScheme}'.")]
[JsonPropertyDescription($"A regular expression which is used to trim Git tags before processing. Defaults to '{RegexPatterns.Configuration.DefaultTagPrefixRegexPattern}'")]
[JsonPropertyDescription($"A regular expression which is used to determine the version number in the branch name or commit message (e.g., v1.0.0-LTS). Defaults to '{RegexPatterns.Configuration.DefaultVersionInBranchRegexPattern}'.")]
[JsonPropertyDescription($"The regular expression to match commit messages with to perform a major version increment. Defaults to '{RegexPatterns.VersionCalculation.DefaultMajorRegexPattern}'")]
[JsonPropertyDescription($"The regular expression to match commit messages with to perform a minor version increment. Defaults to '{RegexPatterns.VersionCalculation.DefaultMinorRegexPattern}'")]
[JsonPropertyDescription($"The regular expression to match commit messages with to perform a patch version increment. Defaults to '{RegexPatterns.VersionCalculation.DefaultPatchRegexPattern}'")]
[JsonPropertyDescription($"Used to tell GitVersion not to increment when in Mainline development mode. Defaults to '{RegexPatterns.VersionCalculation.DefaultNoBumpRegexPattern}'")]
[JsonPropertyDescription($"The pre-release weight in case of tagged commits. Defaults to {StringDefaultTagPreReleaseWeight}.")]
88
-
publicint?TagPreReleaseWeight{get;internalinit;}
88
+
publicint?TagPreReleaseWeight{get;internalset;}
89
89
90
90
[JsonPropertyName("commit-date-format")]
91
91
[JsonPropertyDescription($"The format to use when calculating the commit date. Defaults to '{DefaultCommitDateFormat}'. See [Standard Date and Time Format Strings](https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings) and [Custom Date and Time Format Strings](https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-date-and-time-format-strings).")]
[JsonPropertyDescription($"Specifies the semantic version format that is used when parsing the string. Can be 'Strict' or 'Loose'. Defaults to '{StringDefaultSemanticVersionFormat}'.")]
[JsonPropertyDescription($"Specifies which version strategies (one or more) will be used to determine the next version. Following values are available: '{nameof(VersionCalculation.VersionStrategies.ConfiguredNextVersion)}', '{nameof(VersionCalculation.VersionStrategies.MergeMessage)}', '{nameof(VersionCalculation.VersionStrategies.TaggedCommit)}', '{nameof(VersionCalculation.VersionStrategies.TrackReleaseBranches)}', '{nameof(VersionCalculation.VersionStrategies.VersionInBranchName)}' and '{nameof(VersionCalculation.VersionStrategies.Mainline)}'.")]
Copy file name to clipboardExpand all lines: src/GitVersion.Configuration/PreventIncrementConfiguration.cs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,13 @@ internal class PreventIncrementConfiguration : IPreventIncrementConfiguration
6
6
{
7
7
[JsonPropertyName("of-merged-branch")]
8
8
[JsonPropertyDescription("Prevent increment when branch merged.")]
9
-
publicbool?OfMergedBranch{get;internalinit;}
9
+
publicbool?OfMergedBranch{get;internalset;}
10
10
11
11
[JsonPropertyName("when-branch-merged")]
12
12
[JsonPropertyDescription("Prevent increment when branch merged.")]
13
-
publicbool?WhenBranchMerged{get;internalinit;}
13
+
publicbool?WhenBranchMerged{get;internalset;}
14
14
15
15
[JsonPropertyName("when-current-commit-tagged")]
16
16
[JsonPropertyDescription("This branch related property controls the behavior whether to use the tagged (value set to true) or the incremented (value set to false) semantic version. Defaults to true.")]
0 commit comments