An addin for Cake that allows for the easy creation of GitHub releases with or without assets
C# PowerShell
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Cake.OctoDeploy.Tests
Cake.OctoDeploy
tools
.gitignore Update gitignore. #1 Dec 21, 2016
Cake.OctoDeploy.sln perf: Convert to Cake v0.22.0 #7 Sep 14, 2017
Cake.OctoDeploy.sln.DotSettings perf: Initial checkin. Closes #1 Dec 21, 2016
ErrorResult.xml perf: Initial checkin. Closes #1 Dec 21, 2016
LICENSE Initial commit Dec 21, 2016
build.cake Buildscript fix. #12 Jun 8, 2018
build.ps1
paket.dependencies perf: Initial checkin. Closes #1 Dec 21, 2016
paket.lock perf: Convert to Cake v0.22.0 #7 Sep 14, 2017
readme.md perf: Initial checkin. Closes #1 Dec 21, 2016

readme.md

Cake.OctoDeploy

Build status NuGet Coverage Status

An addin for Cake that allows for the easy creation of GitHub releases with or without assets

#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 by Doejo from The Noun Project, remixed with the Cake icon.