Skip to content

Commit 68f2cba

Browse files
Update build.cake (#743)
Use release mode for script generation, otherwise sql is not generated.
1 parent 785af3b commit 68f2cba

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

build.cake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ Task("Build")
5353
Arguments = "ef migrations script --no-build " +
5454
"--project ./src/Infrastructure/Infrastructure.csproj " +
5555
"--startup-project ./src/Server.UI/Server.UI.csproj " +
56+
"--configuration Release " +
5657
"--output ./artifacts/migrations.sql --idempotent",
5758
WorkingDirectory = Context.Environment.WorkingDirectory // force repo root
5859
};
@@ -63,4 +64,4 @@ Task("Build")
6364
Task("Default")
6465
.IsDependentOn("ScriptMigration");
6566

66-
RunTarget(target);
67+
RunTarget(target);

0 commit comments

Comments
 (0)