GitReleaseManagerAliases.

GitReleaseManagerAddAssets(ICakeContext, string, string, string, string, string, string, GitReleaseManagerAddAssetsSettings) Method

Summary

Add Assets to an existing release using the specified settings.

Syntax

[CakeMethodAlias]
[CakeAliasCategory("AddAssets")]
[CakeNamespaceImport("Cake.Common.Tools.GitReleaseManager.AddAssets")]
[Obsolete("Use the overload that accepts a token instead.")]
public static void GitReleaseManagerAddAssets(this ICakeContext context, string userName, string password, string owner, string repository, string tagName, string assets, GitReleaseManagerAddAssetsSettings settings)

Examples

GitReleaseManagerAddAssets("user", "password", "owner", "repo", "0.1.0", "c:/temp/asset1.txt,c:/temp/asset2.txt" new GitReleaseManagerAddAssetsSettings {
    TargetDirectory   = "c:/repo",
    LogFilePath       = "c:/temp/grm.log"
});

Attributes

Type Description
CakeMethodAliasAttribute An attribute used to mark script method aliases.
CakeAliasCategoryAttribute An attribute used for documentation of alias methods/properties.
CakeNamespaceImportAttribute An attribute used to hint Cake about additional namespaces that need to be imported for an alias to work. This attribute can mark an extension method, the extension method class, or the assembly to provide a global set of imports
ObsoleteAttribute

Parameters

Name Type Description
context ICakeContext The context.
userName string The user name.
password string The password.
owner string The owner.
repository string The repository.
tagName string The tag name.
assets string The assets.
settings GitReleaseManagerAddAssetsSettings The settings.

Return Value

Type Description
void