- dotnet publish -p:BsoRelease=true signiert und laedt hoch - Changelog aus CHANGELOG.md, Ordner werden gezippt, Token/URL auch aus Windows-Benutzervariablen Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
29 lines
1.2 KiB
XML
29 lines
1.2 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
|
<PropertyGroup>
|
|
<OutputType>Exe</OutputType>
|
|
<TargetFramework>net10.0</TargetFramework>
|
|
<Nullable>disable</Nullable>
|
|
<ImplicitUsings>enable</ImplicitUsings>
|
|
<RootNamespace>BSO.Server</RootNamespace>
|
|
<AssemblyName>BSO.Server</AssemblyName>
|
|
<Version>0.3.0</Version>
|
|
<Product>BSO Dedicated Server</Product>
|
|
<InvariantGlobalization>true</InvariantGlobalization>
|
|
<!-- Symbol der .exe (branding\make-assets.ps1) -->
|
|
<ApplicationIcon>logo.ico</ApplicationIcon>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
</PropertyGroup>
|
|
|
|
<ItemGroup>
|
|
<Compile Remove="publish/**" />
|
|
</ItemGroup>
|
|
|
|
<!-- dotnet publish -c Release -o publish -p:BsoRelease=true: den Ordner zippen, signieren und auf die Website laden
|
|
(release.ps1, Changelog aus CHANGELOG.md). Ohne -p:BsoRelease=true wird nur gebaut. -->
|
|
<Target Name="BsoRelease" AfterTargets="Publish" Condition="'$(BsoRelease)' == 'true'">
|
|
<Exec Command="powershell -NoProfile -ExecutionPolicy Bypass -File "$(MSBuildProjectDirectory)\release.ps1" -Product server -Version $(Version) -File "$(PublishDir)."" />
|
|
</Target>
|
|
|
|
</Project>
|