mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-05 23:06:10 +00:00
Fix typo causing compile error (#1804)
This commit is contained in:
committed by
Ryan Gribble
parent
03ee6d7bb8
commit
596d0cfdcc
@@ -25,7 +25,7 @@ newRelease.Draft = true;
|
||||
newRelease.Prerelease = false;
|
||||
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user