mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 11:24:44 +00:00
@@ -0,0 +1,21 @@
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
|
||||
namespace Octokit
|
||||
{
|
||||
public class ReleaseUpdate
|
||||
{
|
||||
public ReleaseUpdate(string tagName)
|
||||
{
|
||||
Ensure.ArgumentNotNullOrEmptyString(tagName, "tagName");
|
||||
TagName = tagName;
|
||||
}
|
||||
|
||||
public string TagName { get; private set; }
|
||||
[SuppressMessage("Microsoft.Naming", "CA1704:IdentifiersShouldBeSpelledCorrectly", MessageId = "Commitish")]
|
||||
public string TargetCommitish { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
public bool Draft { get; set; }
|
||||
public bool Prerelease { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user