Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version bump to match grate - 1.7.4 #10

Merged
merged 1 commit into from
Jun 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions demo/frosting/build/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static class Program
public static int Main(string[] args)
{
return new CakeHost()
.InstallTool(new Uri("dotnet:?package=grate&version=1.7.3"))
.InstallTool(new Uri("dotnet:?package=grate&version=1.7.4"))
.Run(args);
}
}
Expand All @@ -26,7 +26,7 @@ public override void Run(FrostingContext context)

context.Grate(new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-core-functions;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-core-functions;Trusted_Connection=True;TrustServerCertificate=true;",
CommandTimeout = 60,
SchemaName = "demo",
Drop = true,
Expand Down Expand Up @@ -57,7 +57,7 @@ public override void Run(FrostingContext context)

context.Grate(new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
Silent = true
});

Expand All @@ -67,8 +67,8 @@ public override void Run(FrostingContext context)

context.Grate(new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionStringAdmin = "Server=(local)\\sql2022;Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionStringAdmin = "Server=(local);Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
CommandTimeoutAdmin = 60,
Restore = backupFile.ToString(),
Silent = true
Expand All @@ -83,7 +83,7 @@ public override void Run(FrostingContext context)
{
context.Grate(new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-dry-run;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-dry-run;Trusted_Connection=True;TrustServerCertificate=true;",
DryRun = true,
Silent = true
});
Expand All @@ -97,7 +97,7 @@ public override void Run(FrostingContext context)
{
context.Grate(new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-baseline;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-baseline;Trusted_Connection=True;TrustServerCertificate=true;",
Baseline = true,
Silent = true
});
Expand All @@ -111,7 +111,7 @@ public override void Run(FrostingContext context)
{
var settings = new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-usertokens;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-usertokens;Trusted_Connection=True;TrustServerCertificate=true;",
SqlFilesDirectory = "../sqlfiles_usertokens",
Silent = true
};
Expand All @@ -125,7 +125,7 @@ public override void Run(FrostingContext context)

[TaskName("Default")]
[IsDependentOn(typeof(CoreFunctions))]
[IsDependentOn(typeof(Admin))]
//[IsDependentOn(typeof(Admin))]
[IsDependentOn(typeof(DryRun))]
[IsDependentOn(typeof(Baseline))]
[IsDependentOn(typeof(UserTokens))]
Expand Down
16 changes: 8 additions & 8 deletions demo/script/build.cake
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

#tool "dotnet:?package=grate&version=1.7.3"
#tool "dotnet:?package=grate&version=1.7.4"
#r "..\..\src\Cake.grate\bin\Debug\net8.0\Cake.grate.dll"

///////////////////////////////////////////////////////////////////////////////
Expand All @@ -20,7 +20,7 @@ Task("Core-Functions")

Grate(new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-core-functions;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-core-functions;Trusted_Connection=True;TrustServerCertificate=true;",
CommandTimeout = 60,
SchemaName = "demo",
Drop = true,
Expand Down Expand Up @@ -48,7 +48,7 @@ Task("Admin")

Grate(new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
Silent = true
});

Expand All @@ -58,8 +58,8 @@ Task("Admin")

Grate(new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionStringAdmin = "Server=(local)\\sql2022;Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionStringAdmin = "Server=(local);Database=grate-admin-functions;Trusted_Connection=True;TrustServerCertificate=true;",
CommandTimeoutAdmin = 60,
Restore = backupFile.ToString(),
Silent = true
Expand All @@ -71,7 +71,7 @@ Task("DryRun")
{
Grate(new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-dry-run;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-dry-run;Trusted_Connection=True;TrustServerCertificate=true;",
DryRun = true,
Silent = true
});
Expand All @@ -82,7 +82,7 @@ Task("Baseline")
{
Grate(new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-baseline;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-baseline;Trusted_Connection=True;TrustServerCertificate=true;",
Baseline = true,
Silent = true
});
Expand All @@ -93,7 +93,7 @@ Task("UserTokens")
{
var settings = new GrateSettings()
{
ConnectionString = "Server=(local)\\sql2022;Database=grate-usertokens;Trusted_Connection=True;TrustServerCertificate=true;",
ConnectionString = "Server=(local);Database=grate-usertokens;Trusted_Connection=True;TrustServerCertificate=true;",
SqlFilesDirectory = "./sqlfiles_usertokens",
Silent = true
};
Expand Down
4 changes: 2 additions & 2 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ From the grate documentation:
## Usage

```cs
#tool "dotnet:?package=grate&version=1.7.3"
#tool "dotnet:?package=grate&version=1.7.4"
#addin nuget:?package=Cake.grate

Task("MyTask").Does(() => {
Expand All @@ -38,7 +38,7 @@ Task("MyTask").Does(() => {

## Compatibility

The version number of Cake.grate keeps in step with the versions released by [grate](https://github.com/erikbra/grate/releases), e.g. 1.7.3 of Cake.grate has been tested against and contains the features of grate version 1.7.3.
The version number of Cake.grate keeps in step with the versions released by [grate](https://github.com/erikbra/grate/releases), e.g. x.x.x of Cake.grate has been tested against and contains the features of grate version x.x.x.

However, providing there are no breaking changes in a more recent grate version, it is likely Cake.grate will be compatible with it, just specify grate version in the `tool` referenc

Expand Down
Loading