Skip to content

Commit

Permalink
Added AssemblyFileVersion
Browse files Browse the repository at this point in the history
Updated version file for 1.12
  • Loading branch information
linuxgurugamer committed Oct 2, 2021
1 parent a9f8894 commit c69d31e
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 6 deletions.
4 changes: 4 additions & 0 deletions ChangeLog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
ChangeLog

1.7.4.2
Added AssemblyFileVersion
Updated version file for 1.12

1.7.4.1
Bumped version number for .version file update

Expand Down
9 changes: 7 additions & 2 deletions PlanetaryDiversity.version
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,16 @@
"MAJOR": 1,
"MINOR": 7,
"PATCH": 4,
"BUILD": 1
"BUILD": 2
},
"KSP_VERSION": {
"MAJOR": 1,
"MINOR": 12,
"PATCH": 2
},
"KSP_VERSION_MIN": {
"MAJOR": 1,
"MINOR": 8,
"MINOR": 12,
"PATCH": 0
}
}
1 change: 0 additions & 1 deletion buildRelease.bat
Original file line number Diff line number Diff line change
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
4 changes: 3 additions & 1 deletion src/main/AssemblyVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,6 @@

using System.Reflection;

[assembly: AssemblyVersion("1.7.4.0")]
[assembly: AssemblyVersion("1.7.4.1")]
[assembly: AssemblyVersion("1.7.4.1")]
[assembly: KSPAssembly("PlanetaryDiversity", 1, 7, 4)]
2 changes: 2 additions & 0 deletions src/main/AssemblyVersion.tt
Original file line number Diff line number Diff line change
Expand Up @@ -100,3 +100,5 @@
using System.Reflection;

[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")]
[assembly: AssemblyVersion("<#= major #>.<#= minor #>.<#= patch #>.<#= build #>")]
[assembly: KSPAssembly("PlanetaryDiversity", <#= major #>, <#= minor #>, <#= patch #>)]
5 changes: 3 additions & 2 deletions src/main/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
[assembly: ComVisible(false)]
[assembly: Guid("eaeac00f-05ba-4c4b-9625-ef12c0384cda")]
//[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: KSPAssembly("PlanetaryDiversity", 1, 0)]
//[assembly: AssemblyFileVersion("1.0.0.0")]
//[assembly: KSPAssembly("PlanetaryDiversity", 1, 0)]

[assembly: KSPAssemblyDependency("PlanetaryDiversity.API", 1, 0)]

0 comments on commit c69d31e

Please sign in to comment.