mirror of
https://github.com/drewcassidy/KSP-DepthMask
synced 2024-09-01 14:54:35 +00:00
Rework build system to be automated
This commit is contained in:
14
Templates/DepthMask/Properties/AssemblyInfo.cs
Normal file
14
Templates/DepthMask/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,14 @@
|
||||
using System.Reflection;
|
||||
|
||||
// KSP assembly information
|
||||
|
||||
// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
|
||||
// The form "{Major}.{Minor}.*" will automatically update the build and revision,
|
||||
// and "{Major}.{Minor}.{Build}.*" will update just the revision.
|
||||
[assembly: AssemblyVersionAttribute("{{ ver_major }}.{{ ver_minor }}.{{ ver_patch }}")]
|
||||
[assembly: AssemblyInformationalVersionAttribute("{{ ver_major }}.{{ ver_minor }}.{{ ver_patch }}")]
|
||||
[assembly: KSPAssembly("DepthMask", {{ ver_major }}, {{ ver_minor }}, {{ ver_patch }})]
|
||||
|
||||
// Information about this assembly is defined by the following attributes.
|
||||
// Change them to the values specific to your project.
|
||||
[assembly: AssemblyCopyright("2022 Andrew Cassidy")]
|
20
Templates/GameData/DepthMask/DepthMask.version
Normal file
20
Templates/GameData/DepthMask/DepthMask.version
Normal file
@ -0,0 +1,20 @@
|
||||
{
|
||||
"NAME":"DepthMask",
|
||||
"URL":"https://github.com/drewcassidy/KSP-DepthMask/releases/latest/download/DepthMask.version",
|
||||
"DOWNLOAD":"https://github.com/drewcassidy/KSP-DepthMask/releases/latest",
|
||||
"CHANGE_LOG_URL":"https://github.com/drewcassidy/KSP-DepthMask/blob/master/CHANGELOG.md"
|
||||
"VERSION": {
|
||||
"MAJOR": {{ ver_major }},
|
||||
"MINOR": {{ ver_minor }},
|
||||
"PATCH": {{ ver_patch }},
|
||||
"BUILD": {{ ver_build }}
|
||||
},
|
||||
"KSP_VERSION_MIN": {
|
||||
"MAJOR":1,
|
||||
"MINOR":11
|
||||
},
|
||||
"KSP_VERSION_MAX": {
|
||||
"MAJOR":1,
|
||||
"MINOR":12
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user