Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
drewcassidy committed Sep 9, 2024
1 parent 42fe00a commit 2e0b7b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KSPCommon.targets
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
<Target Name="GenerateKSPVersionFile" AfterTargets="Build" Inputs="@(KSPVersionFile);$(FileVersion)" Outputs="%(KSPVersionFile.destination)">
<ItemGroup>
<KSPVersionFile Update="@(KSPVersionFile)">
<Name Condition="%(KSPVersionFile.Version) == '$(ProjectName)'">$(ProjectName)</Name>
<Name Condition="%(KSPVersionFile.Name) == ''">$(ProjectName)</Name>
<Version Condition="%(KSPVersionFile.Version) == ''">$(FileVersion.Split(`.`)[0]).$(FileVersion.Split(`.`)[1]).$(FileVersion.Split(`.`)[2])</Version>
</KSPVersionFile>
</ItemGroup>
Expand Down

0 comments on commit 2e0b7b1

Please sign in to comment.