mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 03:16:11 +00:00
Fix typo causing compile error (#1804)
This commit is contained in:
committed by
Ryan Gribble
parent
03ee6d7bb8
commit
596d0cfdcc
+1
-1
@@ -25,7 +25,7 @@ newRelease.Draft = true;
|
|||||||
newRelease.Prerelease = false;
|
newRelease.Prerelease = false;
|
||||||
|
|
||||||
var result = await client.Repository.Release.Create("octokit", "octokit.net", newRelease);
|
var result = await client.Repository.Release.Create("octokit", "octokit.net", newRelease);
|
||||||
Console.WriteLine("Created release id {0}", release.Id);
|
Console.WriteLine("Created release id {0}", result.Id);
|
||||||
```
|
```
|
||||||
|
|
||||||
Note that the `Draft` flag is used to indicate when a release should be published to the world, whereas the `PreRelease` flag is used to indicate whether a release is unofficial or preview release.
|
Note that the `Draft` flag is used to indicate when a release should be published to the world, whereas the `PreRelease` flag is used to indicate whether a release is unofficial or preview release.
|
||||||
|
|||||||
Reference in New Issue
Block a user