Skip to content

Commit

Permalink
branding for GA - enable stable branding (#34909)
Browse files Browse the repository at this point in the history
  • Loading branch information
maumar authored Oct 15, 2024
1 parent 85b6788 commit 7f5d75b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
5 changes: 5 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
<NoWarn>$(NoWarn.Replace(';1591', ''))</NoWarn>
</PropertyGroup>

<!-- unblock stable branding -->
<PropertyGroup>
<NoWarn>$(NoWarn);NU5104</NoWarn>
</PropertyGroup>

<ItemGroup>
<AdditionalFiles Include="$(MSBuildThisFileDirectory)stylecop.json" />
</ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion eng/Versions.props
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<!--
When StabilizePackageVersion is set to 'true', this branch will produce stable outputs for 'Shipping' packages
-->
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">false</StabilizePackageVersion>
<StabilizePackageVersion Condition="'$(StabilizePackageVersion)' == ''">true</StabilizePackageVersion>
<DotNetFinalVersionKind Condition="'$(StabilizePackageVersion)' == 'true'">release</DotNetFinalVersionKind>
<DefaultNetCoreTargetFramework>net8.0</DefaultNetCoreTargetFramework>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ FROM [__EFMigrationsHistory]
ORDER BY [MigrationId];

INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion])
VALUES (N'00000000000000_Empty', N'9.0.0-dev');
VALUES (N'00000000000000_Empty', N'9.0.0');

--Before

Expand Down Expand Up @@ -798,12 +798,12 @@ CONSTRAINT [PK_Blogs] PRIMARY KEY ([Id])
END

INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion])
VALUES (N'00000000000001_Migration1', N'9.0.0-dev');
VALUES (N'00000000000001_Migration1', N'9.0.0');

--After

INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion])
VALUES (N'00000000000002_Migration2', N'9.0.0-dev');
VALUES (N'00000000000002_Migration2', N'9.0.0');

DECLARE @result int;
EXEC @result = sp_releaseapplock @Resource = '__EFMigrationsLock', @LockOwner = 'Session';
Expand Down Expand Up @@ -867,7 +867,7 @@ FROM [__EFMigrationsHistory]
ORDER BY [MigrationId];

INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion])
VALUES (N'00000000000000_Empty', N'9.0.0-dev');
VALUES (N'00000000000000_Empty', N'9.0.0');

--Before

Expand Down Expand Up @@ -910,12 +910,12 @@ CONSTRAINT [PK_Blogs] PRIMARY KEY ([Id])
END

INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion])
VALUES (N'00000000000001_Migration1', N'9.0.0-dev');
VALUES (N'00000000000001_Migration1', N'9.0.0');

--After

INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion])
VALUES (N'00000000000002_Migration2', N'9.0.0-dev');
VALUES (N'00000000000002_Migration2', N'9.0.0');

DECLARE @result int;
EXEC @result = sp_releaseapplock @Resource = '__EFMigrationsLock', @LockOwner = 'Session';
Expand Down

0 comments on commit 7f5d75b

Please sign in to comment.