Skip to content

Commit a9d2d0a

Browse files
committed
Fix #133: use KSPBT's versioning
1 parent 5fc2b08 commit a9d2d0a

File tree

3 files changed

+16
-24
lines changed

3 files changed

+16
-24
lines changed

GameData/JSI/RasterPropMonitor/RasterPropMonitor.version

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -2,28 +2,8 @@
22
"NAME": "RasterPropMonitor",
33
"URL": "https://github.com/FirstPersonKSP/RasterPropMonitor/releases/latest/download/RasterPropMonitor.version",
44
"DOWNLOAD": "https://github.com/FirstPersonKSP/RasterPropMonitor/releases",
5-
"VERSION":
6-
{
7-
"MAJOR": 1,
8-
"MINOR": 0,
9-
"PATCH": 2
10-
},
11-
"KSP_VERSION":
12-
{
13-
"MAJOR": 1,
14-
"MINOR": 12,
15-
"PATCH": 3
16-
},
17-
"KSP_VERSION_MIN":
18-
{
19-
"MAJOR": 1,
20-
"MINOR": 12,
21-
"PATCH": 0
22-
},
23-
"KSP_VERSION_MAX":
24-
{
25-
"MAJOR": 1,
26-
"MINOR": 12,
27-
"PATCH": 99
28-
}
5+
"VERSION": "1.0.2.0",
6+
"KSP_VERSION": "1.12",
7+
"KSP_VERSION_MIN": "1.12.3",
8+
"KSP_VERSION_MAX": "1.12"
299
}

RasterPropMonitor/RasterPropMonitor.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@
1111
<GenerateKSPAssemblyAttribute>true</GenerateKSPAssemblyAttribute>
1212
<GenerateKSPAssemblyDependencyAttributes>true</GenerateKSPAssemblyDependencyAttributes>
1313
</PropertyGroup>
14+
<ItemGroup>
15+
<KSPVersionFile Include="$(RepoRootPath)\GameData\JSI\RasterPropMonitor\RasterPropMonitor.version">
16+
<Destination>$(RepoRootPath)\GameData\JSI\RasterPropMonitor\RasterPropMonitor.version</Destination>
17+
<KSP_Version_Min>1.12.3</KSP_Version_Min>
18+
</KSPVersionFile>
19+
</ItemGroup>
1420
<ItemGroup>
1521
<Publicize Include="Assembly-CSharp" />
1622
</ItemGroup>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Version>@VERSION_FULL@</Version>
5+
</PropertyGroup>
6+
</Project>

0 commit comments

Comments
 (0)