https://github.com/ninetaillabs/cake.octodeploy
An addin for Cake that allows for the easy creation of GitHub releases with or without assets
https://github.com/ninetaillabs/cake.octodeploy
addin cake github
Last synced: 24 days ago
JSON representation
An addin for Cake that allows for the easy creation of GitHub releases with or without assets
- Host: GitHub
- URL: https://github.com/ninetaillabs/cake.octodeploy
- Owner: NinetailLabs
- License: mit
- Created: 2016-12-21T15:27:13.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:07:21.000Z (about 3 years ago)
- Last Synced: 2025-08-01T07:16:42.802Z (6 months ago)
- Topics: addin, cake, github
- Language: C#
- Size: 117 KB
- Stars: 2
- Watchers: 1
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
## Cake.OctoDeploy
[](https://ci.appveyor.com/project/DeadlyEmbrace/cake-octodeploy/branch/master)
[](https://www.nuget.org/packages/Cake.OctoDeploy/)
[](https://coveralls.io/github/NinetailLabs/Cake.OctoDeploy?branch=master)
An addin for [Cake](http://cakebuild.net/) that allows for the easy creation of GitHub releases with or without assets
```csharp
#addin nuget:?package=Cake.OctoDeploy
```
### Methods
The following methods are provided:
- PublishRelease(this ICakeContext context, string tag, string releaseTitle, string releaseNotes, bool draftRelease, bool preRelease, OctoDeploySettings octoDeploySettings)
- PublishRelease(this ICakeContext context, string tag, string releaseTitle, FilePath releaseNotesFilePath, bool draftRelease, bool preRelease, OctoDeploySettings octoDeploySettings)
*Publish a release on GitHub*
- PublishReleaseWithArtifact(this ICakeContext context, string tag, string releaseTitle, string releaseNotes, bool draftRelease, bool preRelease, FilePath artifactPath, string artifactName, string artifactMimeType, OctoDeploySettings octoDeploySettings)
- PublishReleaseWithArtifact(this ICakeContext context, string tag, string releaseTitle, FilePath releaseNotesFilePath, bool draftRelease, bool preRelease, FilePath artifactPath, string artifactName, string artifactMimeType, OctoDeploySettings octoDeploySettings)
*Publish a release with an artifact*
- PublishReleaseWithArtifacts(this ICakeContext context, string tag, string releaseTitle, string releaseNotes, bool draftRelease, bool preRelease, FilePath[] artifactPaths, string[] artifactNames, string[] artifactMimeTypes, OctoDeploySettings octoDeploySettings)
- PublishReleaseWithArtifacts(this ICakeContext context, string tag, string releaseTitle, FilePath releaseNotesFilePath, bool draftRelease, bool preRelease, FilePath[] artifactPaths, string[] artifactNames, string[] artifactMimeTypes, OctoDeploySettings octoDeploySettings)
*Publish a release with an artifact. Note that the artifact paths and their respective names need to be in the same order in their respective arrays otherwise they will end up incorrectly named*
- UploadArtifact(this ICakeContext context, int releaseId, FilePath artifactPath, string artifactName, string artifactMimeType, OctoDeploySettings octoDeploySettings)
*Upload an artifact to an existing release*
### Icon
[Github](https://thenounproject.com/search/?q=git&i=543561) by [Doejo](https://thenounproject.com/doejo/) from [The Noun Project](https://thenounproject.com/), remixed with the Cake icon.