Fix typo causing compile error (#1804)

This commit is contained in:
Mark Adamson
2018-06-02 03:50:35 +01:00
committed by Ryan Gribble
parent 03ee6d7bb8
commit 596d0cfdcc

View File

@@ -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.