Skip to content

Commit 7e53853

Browse files
committed
Fix #64
(cherry picked from commit 0687107) # Conflicts: # CHANGELOG.md
1 parent 28a7eb0 commit 7e53853

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file
88

99
- Fixed git submodule example to work even for tagged releases (#49)
1010

11+
### Build
12+
13+
- BACKPORT: Fix `KSP_VERSION_MAX` getting mangled when using an existing version file (#64)
14+
1115

1216
## 0.0.4 - 2025-06-15
1317

KSPCommon.targets

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188
<JsonPoke Content="$(_JSON)" Query="$.KSP_VERSION_MIN" RawValue="'%(KSPVersionFile.KSP_Version_Min)'" Condition="'%(KSPVersionFile.KSP_Version_Min)' != ''">
189189
<Output TaskParameter="Content" PropertyName="_JSON"/>
190190
</JsonPoke>
191-
<JsonPoke Content="$(_JSON)" Query="$.KSP_VERSION_MAX" Value="'%(KSPVersionFile.KSP_Version_Max)'" Condition="'%(KSPVersionFile.KSP_Version_Max)' != ''">
191+
<JsonPoke Content="$(_JSON)" Query="$.KSP_VERSION_MAX" RawValue="'%(KSPVersionFile.KSP_Version_Max)'" Condition="'%(KSPVersionFile.KSP_Version_Max)' != ''">
192192
<Output TaskParameter="Content" PropertyName="_JSON"/>
193193
</JsonPoke>
194194
<WriteLinesToFile File="%(KSPVersionFile.Destination)" Lines="$(_JSON)" Overwrite="true"/>

0 commit comments

Comments
 (0)