This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Squirrel.
Summary
Runs SyncReleases using the specified settings, if output should be redirected, and
if it should be silent.
Syntax
public static void SyncReleases(this ICakeContext context, SyncReleasesSettings settings, bool redirectStandardOutput, bool silent)
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, true, false);
});
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
settings |
SyncReleasesSettings |
The settings. |
redirectStandardOutput |
bool |
Sets if the output of an tool is written to the System.Diagnostics.Process.StandardOutput stream. |
silent |
bool |
Sets if the tool output should be suppressed. |
Return Value