Skip to content

Commit

Permalink
Release v3.0.2 - Stable
Browse files Browse the repository at this point in the history
  • Loading branch information
welles authored Jul 12, 2023
2 parents cc30f9d + a8e1a50 commit 91c3f56
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,12 @@ updates:
- "stable"
assignees:
- "welles"
- package-ecosystem: "nuget"
directory: "/"
schedule:
interval: "daily"
target-branch: "beta-develop"
labels:
- "beta"
assignees:
- "welles"
8 changes: 4 additions & 4 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<Project>
<PropertyGroup>
<Version>3.0.1.0</Version>
<GameVersion>1.1.0.12734</GameVersion>
<Version>3.0.2.0</Version>
<GameVersion>1.1.5.21456</GameVersion>
<GameBranch>Stable</GameBranch>
<HarmonyVersion>2.2.2</HarmonyVersion>
<MCMVersion>5.5.5</MCMVersion>
<ButterLibVersion>2.6.3</ButterLibVersion>
<MCMVersion>5.8.2</MCMVersion>
<ButterLibVersion>2.8.9</ButterLibVersion>
<TargetFramework>net472</TargetFramework>
<LangVersion>8.0</LangVersion>
<GameFolder>C:\SteamCMD\apps\mb2b_stable</GameFolder>
Expand Down
2 changes: 1 addition & 1 deletion Settings/BannerlordCheatsGlobalSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public BannerlordCheatsGlobalSettings()
catch { global = "Global"; }

var version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
version = Regex.Replace(version, @"\.0", string.Empty);
version = Regex.Replace(version, @"(?:\.0)+$", string.Empty);
if (!version.Contains(".")) { version += ".0"; }

this.DisplayName = $"{modName} {version} ({global})";
Expand Down
2 changes: 1 addition & 1 deletion Settings/BannerlordCheatsPerCampaignSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public BannerlordCheatsPerCampaignSettings()
catch { modName = "Cheats"; }

var version = Assembly.GetExecutingAssembly().GetName().Version.ToString();
version = Regex.Replace(version, @"\.0", string.Empty);
version = Regex.Replace(version, @"(?:\.0)+$", string.Empty);
if (!version.Contains(".")) { version += ".0"; }

this.DisplayNameCore = $"{modName} {version} ({{0}})";
Expand Down

0 comments on commit 91c3f56

Please sign in to comment.