Skip to content

Commit

Permalink
Merge pull request #251 from ProNotion/main
Browse files Browse the repository at this point in the history
Fixes a typo in the project folder name in package build script & fixes a bug with migrations causes by recent changes
  • Loading branch information
KevinJump authored Nov 27, 2023
2 parents df715f0 + 36a1d4f commit 3bea70d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/build-package.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ dotnet build ..\uSyncMigrations.sln -c $env /p:$buildParams
""; "##### Packaging"; "----------------------------------" ; ""

dotnet pack ..\uSync.Migrations.Core\uSync.Migrations.Core.csproj --no-restore --no-build -c $env -o $outFolder -p:$buildParams
dotnet pack ..\uSync.Migrations.Clients\uSync.Migrations.Client.csproj --no-restore --no-build -c $env -o $outFolder -p:$buildParams
dotnet pack ..\uSync.Migrations.Client\uSync.Migrations.Client.csproj --no-restore --no-build -c $env -o $outFolder -p:$buildParams
dotnet pack ..\uSync.Migrations.Migrators\uSync.Migrations.Migrators.csproj --no-restore --no-build -c $env -o $outFolder -p:$buildParams
dotnet pack ..\uSync.Migrations\uSync.Migrations.csproj --no-restore --no-build -c $env -o $outFolder -p:$buildParams

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ protected override void PrepareFile(XElement source, SyncMigrationContext contex
context.DataTypes.GetByDefinition(dtd)!.OriginalEditorAlias = editorAlias;
}
}

public void PrePrepareFiles(XElement source, SyncMigrationContext context)
protected override void PrePrepareFile(XElement source, SyncMigrationContext context)
{
var editorAlias = GetEditorAlias(source);
var (alias, dtd) = GetAliasAndKey(source, context);
Expand Down

0 comments on commit 3bea70d

Please sign in to comment.