SquirrelAliases.

SyncReleases(ICakeContext, SyncReleasesSettings) Method

Summary

Runs SyncReleases using the specified settings.
Assembly
Cake.Squirrel.dll
Namespace
Cake.Squirrel
Containing Type
SquirrelAliases

Syntax

public static void SyncReleases(this ICakeContext context, SyncReleasesSettings settings)

Examples

#tool "Squirrel.Windows" 
#addin Cake.Squirrel

Task("SyncReleases")
 .Does(() => {
   var settings = new SyncReleasesSettings {
       ReleaseDirectory = "pathToDirectory"
       Url = new Uri("https://someurl.com");
       Token = "myToken"
   }; 

   SyncReleases(settings);
});

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
context ICakeContext The context.
settings SyncReleasesSettings The settings.

Return Value

Type Description
void