forked from GitTools/GitReleaseManager
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCreateConfig.cs
44 lines (33 loc) · 1.82 KB
/
CreateConfig.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
using System.ComponentModel;
using GitReleaseManager.Core.Attributes;
using YamlDotNet.Serialization;
namespace GitReleaseManager.Core.Configuration
{
public class CreateConfig
{
[Description("Enable generation of footer content in the release notes. Extract the recommended templates by running 'init --templates' and edit the footer.sbn file to provide the wanted footer content.")]
[Sample(true)]
[YamlMember(Alias = "include-footer")]
public bool IncludeFooter { get; set; }
[YamlMember(Alias = "footer-heading", DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public string FooterHeading { get; set; }
[YamlMember(Alias = "footer-content", DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public string FooterContent { get; set; }
[YamlMember(Alias = "footer-includes-milestone", DefaultValuesHandling = DefaultValuesHandling.OmitDefaults)]
public bool FooterIncludesMilestone { get; set; }
[YamlMember(Alias = "milestone-replace-text", DefaultValuesHandling = DefaultValuesHandling.OmitNull)]
public string MilestoneReplaceText { get; set; }
[YamlMember(Alias = "include-sha-section")]
public bool IncludeShaSection { get; set; }
[YamlMember(Alias = "sha-section-heading")]
public string ShaSectionHeading { get; set; }
[YamlMember(Alias = "sha-section-line-format")]
public string ShaSectionLineFormat { get; set; }
[YamlMember(Alias = "allow-update-to-published")]
public bool AllowUpdateToPublishedRelease { get; set; }
[YamlMember(Alias = "allow-milestone-without-issues")]
public bool AllowMilestonesWithoutIssues { get; set; }
[YamlMember(Alias = "include-contributors")]
public bool IncludeContributors { get; set; }
}
}