From e1f59444b7c32c30ad18242727fd733a5b5d7177 Mon Sep 17 00:00:00 2001 From: severedsolo Date: Sun, 13 Jan 2019 09:18:34 +0000 Subject: [PATCH] Add bash script to automate release process --- Build.sh | 6 ++++++ GameData/Severedsolo/OhScrap/Changelog.cfg | 8 ++++++-- GameData/Severedsolo/OhScrap/OhScrap.version | 12 ++++++------ OhScrap/OhScrap.csproj | 8 +------- OhScrap/OhScrap.sln | 17 +++++++++++++++++ 5 files changed, 36 insertions(+), 15 deletions(-) create mode 100755 Build.sh create mode 100644 OhScrap/OhScrap.sln diff --git a/Build.sh b/Build.sh new file mode 100755 index 0000000..4e13ef1 --- /dev/null +++ b/Build.sh @@ -0,0 +1,6 @@ +#!/bin/bash +xed /home/martin/Documents/GitHub/OhScrap/GameData/Severedsolo/OhScrap/Changelog.cfg +xed /home/martin/Documents/GitHub/OhScrap/GameData/Severedsolo/OhScrap/OhScrap.version +cp /home/martin/Documents/GitHub/OhScrap/OhScrap/bin/Release/OhScrap.dll /home/martin/Documents/GitHub/OhScrap/GameData/Severedsolo/OhScrap +zip -r OhScrap.zip GameData +notify-send "Oh Scrap build has finised" diff --git a/GameData/Severedsolo/OhScrap/Changelog.cfg b/GameData/Severedsolo/OhScrap/Changelog.cfg index 531e83e..471c549 100644 --- a/GameData/Severedsolo/OhScrap/Changelog.cfg +++ b/GameData/Severedsolo/OhScrap/Changelog.cfg @@ -2,12 +2,16 @@ KERBALCHANGELOG //Required to have this name { showChangelog = True //To show the changelog, this must be set to True modName = OhScrap //Add your mod's name here - + VERSION { - version = 1.4.3 + version = 1.5 + change = Recompiled against KSP 1.6.0 (1.5.x should continue to work fine) change = Fixed issue where failure rolls would be spammed in prelaunch + change = Exposed baseFailureChance and expectedLifetime for Space Engines in the MM config for EngineFailureModule + change = Added bash script to automate release build process (only relevant if you are compiling from source, but it's in the Github Repo so mentioned it here) } + VERSION //Declares a version node { version = 1.4.2 //Version number, numbers only with no spaces! diff --git a/GameData/Severedsolo/OhScrap/OhScrap.version b/GameData/Severedsolo/OhScrap/OhScrap.version index 4d796f4..14b718d 100644 --- a/GameData/Severedsolo/OhScrap/OhScrap.version +++ b/GameData/Severedsolo/OhScrap/OhScrap.version @@ -10,26 +10,26 @@ "VERSION" : { "MAJOR" : 1, - "MINOR" : 4, - "PATCH" : 2, + "MINOR" : 5, + "PATCH" : 0, "BUILD" : 0 }, "KSP_VERSION" : { "MAJOR" : 1, - "MINOR" : 5, - "PATCH" : 1 + "MINOR" : 6, + "PATCH" : 0 }, "KSP_VERSION_MIN" : { "MAJOR" : 1, - "MINOR" : 5, + "MINOR" : 6, "PATCH" : 0 }, "KSP_VERSION_MAX" : { "MAJOR" : 1, - "MINOR" : 5, + "MINOR" : 6, "PATCH" : 99 } } diff --git a/OhScrap/OhScrap.csproj b/OhScrap/OhScrap.csproj index a597235..9b72210 100644 --- a/OhScrap/OhScrap.csproj +++ b/OhScrap/OhScrap.csproj @@ -83,10 +83,4 @@ - - "D:\OneDrive\Documents\pdb2mdb\pdb2mdb.exe" "$(TargetFileName)" -xcopy /Y "$(TargetPath)" "C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program - ModDev\GameData\Severedsolo\OhScrap\" -xcopy /Y "$(TargetDir)$(TargetName).pdb" "C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program - ModDev\GameData\Severedsolo\OhScrap\" -xcopy /Y "$(TargetDir)$(TargetName).dll.mdb" "C:\Program Files (x86)\Steam\steamapps\common\Kerbal Space Program - ModDev\GameData\Severedsolo\OhScrap\" - - \ No newline at end of file + diff --git a/OhScrap/OhScrap.sln b/OhScrap/OhScrap.sln new file mode 100644 index 0000000..e11cb03 --- /dev/null +++ b/OhScrap/OhScrap.sln @@ -0,0 +1,17 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OhScrap", "OhScrap.csproj", "{91503855-3C04-4DB5-8878-4454D9F5877A}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {91503855-3C04-4DB5-8878-4454D9F5877A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {91503855-3C04-4DB5-8878-4454D9F5877A}.Debug|Any CPU.Build.0 = Debug|Any CPU + {91503855-3C04-4DB5-8878-4454D9F5877A}.Release|Any CPU.ActiveCfg = Release|Any CPU + {91503855-3C04-4DB5-8878-4454D9F5877A}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal