Skip to content

Commit

Permalink
Renamed DLL for CKAN compatibility
Browse files Browse the repository at this point in the history
Added AssemblyFileVersion
Updated version file for 1.12
  • Loading branch information
linuxgurugamer committed Aug 6, 2021
1 parent 20f789e commit f42f837
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 10 deletions.
5 changes: 5 additions & 0 deletions ChangeLog.txt
@@ -1,5 +1,10 @@
Changelog

0.5.1.2
Renamed DLL for CKAN compatibility
Added AssemblyFileVersion
Updated version file for 1.12

0.5.1.1
Changed crew capacity of the command module to 5

Expand Down
9 changes: 7 additions & 2 deletions IXSWarpShipOS.version
Expand Up @@ -10,11 +10,16 @@
"MAJOR": 0,
"MINOR": 5,
"PATCH": 1,
"BUILD": 1
"BUILD": 2
},
"KSP_VERSION": {
"MAJOR": 1,
"MINOR": 12,
"PATCH": 0
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
"MINOR": 8,
"MINOR": 12,
"PATCH": 0
}
}
3 changes: 2 additions & 1 deletion Source/AssemblyVersion.cs
Expand Up @@ -5,4 +5,5 @@

using System.Reflection;

[assembly: AssemblyVersion("0.5.0.2")]
[assembly: AssemblyVersion("0.5.1.2")]
[assembly: AssemblyFileVersion("0.5.1.2")]
1 change: 1 addition & 0 deletions Source/AssemblyVersion.tt
Expand Up @@ -98,3 +98,4 @@
using System.Reflection;

[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")]
[assembly: AssemblyFileVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")]
11 changes: 5 additions & 6 deletions Source/WarpShip.csproj
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{597B17DB-4F27-4DFA-9A17-06D2E879637A}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>WarpShip</RootNamespace>
<AssemblyName>WarpShip</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<AssemblyName>IXSWarpshipOS</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<ProductVersion>12.0.0</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<TargetFrameworkProfile />
Expand Down Expand Up @@ -102,14 +102,13 @@ IF "%25KSPDIR%25"=="" (

)

start /D $(SolutionDir) /WAIT deploy.bat $(TargetDir) $(TargetFileName)
start /D $(SolutionDir) /WAIT deploy.bat $(TargetDir) $(TargetFileName) $(TargetName)

if $(ConfigurationName) == Release (

start /D $(SolutionDir) /WAIT buildRelease.bat $(TargetDir) $(TargetFileName)
start /D $(SolutionDir) /WAIT buildRelease.bat $(TargetDir) $(TargetFileName) $(TargetName)

)

</PostBuildEvent>
</PropertyGroup>
</Project>
Expand Down
1 change: 0 additions & 1 deletion buildRelease.bat
Expand Up @@ -36,7 +36,6 @@ rem Copy files to GameData locations

copy /Y "%1%2" "%GAMEDATA%\%GAMEDIR%\Plugins"
copy /Y %VERSIONFILE% %GAMEDATA%\%GAMEDIR%
copy /Y ..\MiniAVC.dll %GAMEDATA%\%GAMEDIR%

if "%LICENSE%" NEQ "" copy /y %LICENSE% %GAMEDATA%\%GAMEDIR%
if "%README%" NEQ "" copy /Y %README% %GAMEDATA%\%GAMEDIR%
Expand Down
8 changes: 8 additions & 0 deletions deploy.bat
Expand Up @@ -12,7 +12,15 @@ set GAMEDIR=IXSWarpShipOS
set GAMEDATA="GameData"
set VERSIONFILE=%GAMEDIR%.version

set DP0=r:\dp0\kspdev

copy /Y "%1%2" "%GAMEDATA%\%GAMEDIR%\Plugins"
copy /Y "%1%3".pdb "%GAMEDATA%\%GAMEDIR%\Plugins"

copy /Y %VERSIONFILE% %GAMEDATA%\%GAMEDIR%

xcopy /y /s /I %GAMEDATA%\%GAMEDIR% "%H%\GameData\%GAMEDIR%"
xcopy /y /s /I %GAMEDATA%\%GAMEDIR% "%DP0%\GameData\%GAMEDIR%"

pause

0 comments on commit f42f837

Please sign in to comment.