Skip to content

Commit

Permalink
feat(infra): improve versioning and packaging of bit platform products
Browse files Browse the repository at this point in the history
  • Loading branch information
msynk authored Dec 13, 2024
1 parent c91b2f1 commit 0f3b4ba
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 91 deletions.
13 changes: 0 additions & 13 deletions src/Besql/Bit.Besql/Bit.Besql.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
<TargetFrameworks>net9.0;net8.0</TargetFrameworks>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\AssemblyOriginatorKeyFile.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>


Expand All @@ -22,15 +20,4 @@
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="9.0.0" Condition="'$(TargetFramework)' == 'net9.0'" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

</Project>
29 changes: 23 additions & 6 deletions src/Bit.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,12 @@
<PackageProjectUrl>https://github.com/bitfoundation/bitplatform</PackageProjectUrl>
<PackageIconUrl>https://avatars.githubusercontent.com/u/22663390</PackageIconUrl>

<ReleaseVersion>9.1.0</ReleaseVersion>

<PackageReleaseNotes>https://github.com/bitfoundation/bitplatform/releases/tag/v-$(ReleaseVersion)-pre-11</PackageReleaseNotes>
<PackageVersion>$(ReleaseVersion)-pre-11</PackageVersion>

<!-- Version -->
<Version Condition=" '$(Configuration)' == 'Release' ">$(ReleaseVersion).$([System.DateTime]::Now.ToString(HHmm))</Version>
<ReleaseVersion>9.1.0-pre-11</ReleaseVersion>
<PackageVersion>$(ReleaseVersion)</PackageVersion>
<PackageReleaseNotes>https://github.com/bitfoundation/bitplatform/releases/tag/v-$(ReleaseVersion)</PackageReleaseNotes>
<Version Condition=" '$(Configuration)' == 'Release' ">$([System.String]::Copy($(ReleaseVersion)).Replace('-pre-', '.'))</Version>
<Deterministic>true</Deterministic>

<!-- Compile -->
<NeutralLanguage>en</NeutralLanguage>
Expand All @@ -42,4 +41,22 @@
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
</PropertyGroup>

<!-- README and LICENSE -->
<PropertyGroup>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildThisFileDirectory)', 'AssemblyOriginatorKeyFile.snk'))\AssemblyOriginatorKeyFile.snk))</AssemblyOriginatorKeyFile>
<PackageReadmeFile>ReadMe.md</PackageReadmeFile>
</PropertyGroup>

<ItemGroup>
<None Include="$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildThisFileDirectory)', 'LICENSE'))\LICENSE))">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="$([System.IO.Path]::GetFullPath($([MSBuild]::GetDirectoryNameOfFileAbove('$(MSBuildThisFileDirectory)', 'README.md'))\README.md))">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>

</Project>
10 changes: 0 additions & 10 deletions src/BlazorUI/Bit.BlazorUI.Assets/Bit.BlazorUI.Assets.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
BeforeBuildTasks;
$(ResolveStaticWebAssetsInputsDependsOn)
</ResolveStaticWebAssetsInputsDependsOn>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\AssemblyOriginatorKeyFile.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand All @@ -37,14 +35,6 @@
</Target>

<ItemGroup>
<None Include="..\..\..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<Content Remove="package*.json" />
<None Include="package*json" />
</ItemGroup>
Expand Down
10 changes: 0 additions & 10 deletions src/BlazorUI/Bit.BlazorUI.Extras/Bit.BlazorUI.Extras.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
BeforeBuildTasks;
$(ResolveStaticWebAssetsInputsDependsOn)
</ResolveStaticWebAssetsInputsDependsOn>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\AssemblyOriginatorKeyFile.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -75,14 +73,6 @@
</Target>

<ItemGroup>
<None Include="..\..\..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<Content Remove="package*.json" />
<Content Remove="tsconfig.json" />
<None Include="package*json" />
Expand Down
10 changes: 0 additions & 10 deletions src/BlazorUI/Bit.BlazorUI.Icons/Bit.BlazorUI.Icons.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
BeforeBuildTasks;
$(ResolveStaticWebAssetsInputsDependsOn)
</ResolveStaticWebAssetsInputsDependsOn>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\AssemblyOriginatorKeyFile.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -40,14 +38,6 @@
</Target>

<ItemGroup>
<None Include="..\..\..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<Content Remove="package*.json" />
<None Include="package*json" />
</ItemGroup>
Expand Down
10 changes: 0 additions & 10 deletions src/BlazorUI/Bit.BlazorUI/Bit.BlazorUI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
BeforeBuildTasks;
$(ResolveStaticWebAssetsInputsDependsOn)
</ResolveStaticWebAssetsInputsDependsOn>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\AssemblyOriginatorKeyFile.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -71,14 +69,6 @@
</Target>

<ItemGroup>
<None Include="..\..\..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<Content Remove="package*.json" />
<Content Remove="tsconfig.json" />
<None Include="package*json" />
Expand Down
10 changes: 0 additions & 10 deletions src/Bswup/Bit.Bswup/Bit.Bswup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
BeforeBuildTasks;
$(ResolveStaticWebAssetsInputsDependsOn)
</ResolveStaticWebAssetsInputsDependsOn>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\AssemblyOriginatorKeyFile.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -53,14 +51,6 @@
</Target>

<ItemGroup>
<None Include="..\..\..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<Content Remove="package*.json" />
<Content Remove="tsconfig.json" />
<None Include="package*json" />
Expand Down
10 changes: 0 additions & 10 deletions src/Bup/Bit.Bup/Bit.Bup.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
BeforeBuildTasks;
$(ResolveStaticWebAssetsInputsDependsOn)
</ResolveStaticWebAssetsInputsDependsOn>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\AssemblyOriginatorKeyFile.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -52,14 +50,6 @@
</Target>

<ItemGroup>
<None Include="..\..\..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<Content Remove="package*.json" />
<Content Remove="tsconfig.json" />
<None Include="package*json" />
Expand Down
10 changes: 0 additions & 10 deletions src/Butil/Bit.Butil/Bit.Butil.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
BeforeBuildTasks;
$(ResolveStaticWebAssetsInputsDependsOn)
</ResolveStaticWebAssetsInputsDependsOn>
<SignAssembly>True</SignAssembly>
<AssemblyOriginatorKeyFile>..\..\AssemblyOriginatorKeyFile.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

<ItemGroup>
Expand Down Expand Up @@ -46,14 +44,6 @@
</Target>

<ItemGroup>
<None Include="..\..\..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<Content Remove="package*.json" />
<Content Remove="tsconfig.json" />
<None Include="package*json" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageId>Bit.BlazorEmpty</PackageId>
<PackageType>Template</PackageType>
<Title>bit BlazorEmpty</Title>
<PackageDescription>A template for creating a BlazorEmpty app based on the bit platform tools</PackageDescription>
<PackageDescription>A template for creating an empty Blazor app using the bit platform products</PackageDescription>
<PackageTags>Bit;c#;asp.net;core;template;web;blazor</PackageTags>
<PackageCopyright>Copyright © bit platform 2024</PackageCopyright>
<PackageIcon>bit-icon-512.png</PackageIcon>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<PackageId>Bit.Boilerplate</PackageId>
<PackageType>Template</PackageType>
<Title>bit Boilerplate</Title>
<PackageDescription>A template for creating a full featured app base on the bit platform</PackageDescription>
<PackageDescription>A template for creating a full featured app using the bit platform products</PackageDescription>
<PackageTags>bit;c#;asp;template;web;blazor;ef;api;rest;maui;</PackageTags>
<PackageCopyright>Copyright © bit platform 2024</PackageCopyright>
<PackageIcon>bit-icon-512.png</PackageIcon>
Expand Down

0 comments on commit 0f3b4ba

Please sign in to comment.