Skip to content

Commit 0687107

Browse files
committed
Fix #64
1 parent e4dc1f7 commit 0687107

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ All notable changes to this project will be documented in this file
2020
- Mod dependencies should now be declared with
2121
`ModReference` items. This avoids the need for the KSP install path to be known at evaluation time.
2222
- Only include Log.cs (or anything else in include/unity) when `KSPBT_ReferenceUnityAssemblies` is `true` (#61)
23+
- Fix `KSP_VERSION_MAX` getting mangled when using an existing version file (#64)
2324

2425
### Docs
2526

KSPCommon.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@
280280
<JsonPoke Content="$(_JSON)" Query="$.KSP_VERSION_MIN" RawValue="'%(KSPVersionFile.KSP_Version_Min)'" Condition="'%(KSPVersionFile.KSP_Version_Min)' != ''">
281281
<Output TaskParameter="Content" PropertyName="_JSON"/>
282282
</JsonPoke>
283-
<JsonPoke Content="$(_JSON)" Query="$.KSP_VERSION_MAX" Value="'%(KSPVersionFile.KSP_Version_Max)'" Condition="'%(KSPVersionFile.KSP_Version_Max)' != ''">
283+
<JsonPoke Content="$(_JSON)" Query="$.KSP_VERSION_MAX" RawValue="'%(KSPVersionFile.KSP_Version_Max)'" Condition="'%(KSPVersionFile.KSP_Version_Max)' != ''">
284284
<Output TaskParameter="Content" PropertyName="_JSON"/>
285285
</JsonPoke>
286286
<WriteLinesToFile File="%(KSPVersionFile.Destination)" Lines="$(_JSON)" Overwrite="true"/>

0 commit comments

Comments
 (0)