improve: better version control

This commit is contained in:
h z
2025-02-18 21:22:47 +00:00
parent b21023ba24
commit 2c32af6b42
2 changed files with 15 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<Project Sdk="Godot.NET.Sdk/4.4.0-beta.3">
<Import Project="VersionInfo.props" Condition="Exists('VersionInfo.props')" />
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
@@ -8,12 +8,13 @@
<GenerateTargetFrameworkAttribute>false</GenerateTargetFrameworkAttribute>
<PackageId>Polonium</PackageId>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.1.1-x</Version>
<Version>$(PoloniumVersion)</Version>
<Authors>Hangman</Authors>
<DisableImplicitRestore>true</DisableImplicitRestore>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Polonium.Tasks" Version="0.1.1-x" />
<PackageReference Include="Polonium.Tasks" Version="$(PoloniumTasksVersion)" />
<None Include="VersionInfo.props" Pack="true" PackagePath="build" Condition="Exists('VersionInfo.props')" />
</ItemGroup>
<Target Name="Prepare" BeforeTargets="BeforeBuild">
<RemoveDir Directories="$(ProjectDir)Package/embedded/polonium_templates" Condition="Exists('$(ProjectDir)Package/polonium_templates')"/>