Skip to content

Commit f51cafd

Browse files
committed
v1.10 - Automatic publish on build
1 parent 3d4184e commit f51cafd

File tree

3 files changed

+12
-25
lines changed

3 files changed

+12
-25
lines changed

Properties/PublishProfiles/FolderProfile.pubxml

Lines changed: 0 additions & 19 deletions
This file was deleted.

RimCzechGitDownloader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public static Expansion[] GetExpansions(string rimBase, out Expansion core)
5454

5555
private const string DEFAULT_GITHUB_URL = "https://github.com/Ludeon/rimworld-Czech/archive/refs/heads/master.zip";
5656

57-
private static string Version => "1.8";
57+
private static string Version => "1.10";
5858

5959
private static void Main(string[] args)
6060
{

RimCzechGitDownloader.csproj

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<OutputType>Exe</OutputType>
5-
<TargetFramework>net9.0</TargetFramework>
6-
<Nullable>enable</Nullable>
7-
</PropertyGroup>
3+
<PropertyGroup>
4+
<OutputType>Exe</OutputType>
5+
<TargetFramework>net9.0</TargetFramework>
6+
<Nullable>enable</Nullable>
7+
<PublishAot>true</PublishAot>
8+
</PropertyGroup>
9+
10+
<Target Name="LordFanger_ReleasePublish" AfterTargets="Build" Condition="'$(Configuration)' != 'Release' AND $(Path.Contains('\dotnet'))">
11+
<Message Text="path: $(ProjectPath)" />
12+
<Exec Command="dotnet publish &quot;$(MSBuildProjectFullPath)&quot; -o .\publish -c Release -r win-x64" />
13+
</Target>
814

915
</Project>

0 commit comments

Comments
 (0)