Skip to content
This repository has been archived by the owner on May 10, 2023. It is now read-only.

Bump Octokit from 0.32.0 to 1.0.0 in /source #119

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 14, 2022

Bumps Octokit from 0.32.0 to 1.0.0.

Release notes

Sourced from Octokit's releases.

v1.0.0

Release Notes

Breaking changes

Features/Enhancements

Housekeeping

Documentation Updates

v0.52 - Housekeeping and DX!

Advisories and Breaking Changes

  • None

Release Notes

Features/Enhancements

Housekeeping

... (truncated)

Changelog

Sourced from Octokit's changelog.

Working with Releases

Get All

To retrieve all releases for a repository:

var releases = await client.Repository.Release.GetAll("octokit", "octokit.net");
var latest = releases[0];
Console.WriteLine(
    "The latest release is tagged at {0} and is named {1}", 
    latest.TagName, 
    latest.Name);

Create

To create a new release you must have a corresponding tag in the repository. See the git-database.md docs for details.

var newRelease = new NewRelease("v1.0.0");
newRelease.Name = "Version One Point Oh";
newRelease.Body = "**This** is some *Markdown*";
newRelease.Draft = true;
newRelease.Prerelease = false;
var result = await client.Repository.Release.Create("octokit", "octokit.net", newRelease);
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.

Update

Once the release is ready for the public, you can apply an update to the release:

var release = client.Repository.Release.Get("octokit", "octokit.net", 1);
var updateRelease = release.ToUpdate();
updateRelease.Draft = false;
updateRelease.Name = "Version 1.0";
updateRelease.TargetCommitish = "0edef870ecd885cc6506f1e3f08341e8b87370f2" // can also be a ref
var result = await client.Repository.Release.Edit("octokit", "octokit.net", 1, updateRelease);

Upload Assets

If you have any assets to include with the release, you can upload them after creating the release:

</tr></table> 

... (truncated)

Commits
  • aca587b [deps] Bump xunit.runner.visualstudio from 2.4.3 to 2.4.5 (#2440)
  • 3f3466c [deps] Bump Cake.Frosting from 1.1.0 to 2.2.0 in /build (#2437)
  • 7384b46 [feat] Adds the slug field to the GitHubApp response object
  • 0e469a9 [feat] Deployment task is arbitrary string value (#2413)
  • 3129040 [feat] Add AutoMerge and add MergeOptions to NewRepository object (#2476)
  • 7ab6dc3 [deps] Bump NSubstitute from 4.3.0 to 4.4.0 (#2475)
  • f6e541d [FEAT] Update permissions based on GitHub documentation (#2424)
  • 8e6bcd1 [FEAT] Added enterprise pre-receive hooks client (#2375)
  • 2179065 [DOCS] Corrects links into github documentation (#2378)
  • f92f0b8 [FEAT] add Triage/Maintain permission (#2467)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [Octokit](https://github.com/octokit/octokit.net) from 0.32.0 to 1.0.0.
- [Release notes](https://github.com/octokit/octokit.net/releases)
- [Changelog](https://github.com/octokit/octokit.net/blob/main/docs/releases.md)
- [Commits](octokit/octokit.net@v0.32.0...v1.0.0)

---
updated-dependencies:
- dependency-name: Octokit
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 14, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 2, 2022

Superseded by #126.

@dependabot dependabot bot closed this Aug 2, 2022
@dependabot dependabot bot deleted the dependabot/nuget/source/Octokit-1.0.0 branch August 2, 2022 09:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants