Skip to content

Commit 9432ade

Browse files
committed
Prepare v1.4.0 release
1 parent 024673d commit 9432ade

15 files changed

Lines changed: 143 additions & 72 deletions

Installer/Installer.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#define MyAppPublisher "ThreadPilot"
66
#define MyAppURL "https://github.com/"
77
#define MyAppExeName "ThreadPilot.exe"
8-
#define MyAppVersion "1.3.1"
8+
#define MyAppVersion "1.4.0"
99

1010
#ifndef MyWizardStyle
1111
#define MyWizardStyle "modern dynamic windows11"

Installer/ThreadPilot.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<Package
88
Name="ThreadPilot"
99
Manufacturer="Prime Build"
10-
Version="1.3.1.0"
10+
Version="1.4.0.0"
1111
UpgradeCode="PUT-GENERATED-UPGRADE-CODE-HERE"
1212
Language="1033">
1313
<SummaryInformation Description="ThreadPilot MSI template" />

Installer/setup.iss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#endif
1212

1313
#ifndef MyAppVersion
14-
#define MyAppVersion "1.3.1"
14+
#define MyAppVersion "1.4.0"
1515
#endif
1616

1717
#ifndef MyAppSourceDir

Tests/ThreadPilot.Core.Tests/PackagingMetadataTests.cs

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ namespace ThreadPilot.Core.Tests
44

55
public sealed partial class PackagingMetadataTests
66
{
7-
private const string HotfixVersion = "1.3.1";
8-
private const string HotfixAssemblyVersion = "1.3.1.0";
7+
private const string ReleaseVersion = "1.4.0";
8+
private const string ReleaseAssemblyVersion = "1.4.0.0";
99

1010
[Fact]
1111
public void InnoInstallers_UseStableDisplayNameAndSeparateVersionMetadata()
@@ -57,24 +57,24 @@ public void PrimaryInstaller_CleansOnlyRecognizedLegacyBetaUninstallRegistryEntr
5757
}
5858

5959
[Fact]
60-
public void VersionMetadata_IsBumpedToHotfixVersion()
60+
public void VersionMetadata_IsBumpedToReleaseVersion()
6161
{
6262
var root = FindRepositoryRoot();
6363

64-
AssertFileContains(Path.Combine(root, "ThreadPilot.csproj"), $"<Version>{HotfixVersion}</Version>");
65-
AssertFileContains(Path.Combine(root, "ThreadPilot.csproj"), $"<AssemblyVersion>{HotfixAssemblyVersion}</AssemblyVersion>");
66-
AssertFileContains(Path.Combine(root, "ThreadPilot.csproj"), $"<FileVersion>{HotfixAssemblyVersion}</FileVersion>");
67-
AssertFileContains(Path.Combine(root, "ThreadPilot.csproj"), $"<InformationalVersion>{HotfixVersion}</InformationalVersion>");
68-
AssertFileContains(Path.Combine(root, "app.manifest"), $"version=\"{HotfixAssemblyVersion}\"");
69-
AssertFileContains(Path.Combine(root, "Installer", "ThreadPilot.wxs"), $"Version=\"{HotfixAssemblyVersion}\"");
70-
AssertFileContains(Path.Combine(root, "chocolatey", "threadpilot.nuspec"), $"<version>{HotfixVersion}</version>");
71-
AssertFileContains(Path.Combine(root, "chocolatey", "threadpilot.nuspec"), $"releases/tag/v{HotfixVersion}");
72-
AssertFileContains(Path.Combine(root, "sonar-project.properties"), $"sonar.projectVersion={HotfixVersion}");
73-
AssertFileContains(Path.Combine(root, "build", "build-release.ps1"), $"[string]$Version = \"{HotfixVersion}\"");
74-
AssertFileContains(Path.Combine(root, "build", "build-installer.ps1"), $"[string]$Version = \"{HotfixVersion}\"");
75-
AssertFileContains(Path.Combine(root, "build", "package-release-zips.ps1"), $"[string]$Version = \"{HotfixVersion}\"");
76-
Assert.True(File.Exists(Path.Combine(root, "docs", "releases", $"v{HotfixVersion}.md")));
77-
AssertFileContains(Path.Combine(root, "docs", "release", "RELEASE_NOTES.md"), $"v{HotfixVersion}");
64+
AssertFileContains(Path.Combine(root, "ThreadPilot.csproj"), $"<Version>{ReleaseVersion}</Version>");
65+
AssertFileContains(Path.Combine(root, "ThreadPilot.csproj"), $"<AssemblyVersion>{ReleaseAssemblyVersion}</AssemblyVersion>");
66+
AssertFileContains(Path.Combine(root, "ThreadPilot.csproj"), $"<FileVersion>{ReleaseAssemblyVersion}</FileVersion>");
67+
AssertFileContains(Path.Combine(root, "ThreadPilot.csproj"), $"<InformationalVersion>{ReleaseVersion}</InformationalVersion>");
68+
AssertFileContains(Path.Combine(root, "app.manifest"), $"version=\"{ReleaseAssemblyVersion}\"");
69+
AssertFileContains(Path.Combine(root, "Installer", "ThreadPilot.wxs"), $"Version=\"{ReleaseAssemblyVersion}\"");
70+
AssertFileContains(Path.Combine(root, "chocolatey", "threadpilot.nuspec"), $"<version>{ReleaseVersion}</version>");
71+
AssertFileContains(Path.Combine(root, "chocolatey", "threadpilot.nuspec"), $"releases/tag/v{ReleaseVersion}");
72+
AssertFileContains(Path.Combine(root, "sonar-project.properties"), $"sonar.projectVersion={ReleaseVersion}");
73+
AssertFileContains(Path.Combine(root, "build", "build-release.ps1"), $"[string]$Version = \"{ReleaseVersion}\"");
74+
AssertFileContains(Path.Combine(root, "build", "build-installer.ps1"), $"[string]$Version = \"{ReleaseVersion}\"");
75+
AssertFileContains(Path.Combine(root, "build", "package-release-zips.ps1"), $"[string]$Version = \"{ReleaseVersion}\"");
76+
Assert.True(File.Exists(Path.Combine(root, "docs", "releases", $"v{ReleaseVersion}.md")));
77+
AssertFileContains(Path.Combine(root, "docs", "release", "RELEASE_NOTES.md"), $"v{ReleaseVersion}");
7878
}
7979

8080
private static void AssertFileContains(string path, string expected)
@@ -100,7 +100,7 @@ private static string FindRepositoryRoot()
100100
throw new InvalidOperationException("Repository root could not be located.");
101101
}
102102

103-
[GeneratedRegex("#define MyAppVersion \"1\\.3\\.1\"", RegexOptions.CultureInvariant)]
103+
[GeneratedRegex("#define MyAppVersion \"1\\.4\\.0\"", RegexOptions.CultureInvariant)]
104104
private static partial Regex MyAppVersionRegex();
105105
}
106106
}

ThreadPilot.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616
<TrimMode>link</TrimMode>
1717
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1818
<NoWarn>CS1998;CS0067;CS0414;WFAC010;IL3000;MVVMTK0034</NoWarn>
19-
<Version>1.3.1</Version>
20-
<AssemblyVersion>1.3.1.0</AssemblyVersion>
21-
<FileVersion>1.3.1.0</FileVersion>
22-
<InformationalVersion>1.3.1</InformationalVersion>
19+
<Version>1.4.0</Version>
20+
<AssemblyVersion>1.4.0.0</AssemblyVersion>
21+
<FileVersion>1.4.0.0</FileVersion>
22+
<InformationalVersion>1.4.0</InformationalVersion>
2323
</PropertyGroup>
2424

2525
<ItemGroup>

app.manifest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
3-
<assemblyIdentity version="1.3.1.0" name="ThreadPilot.app"/>
3+
<assemblyIdentity version="1.4.0.0" name="ThreadPilot.app"/>
44
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
55
<security>
66
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">

build/build-installer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
param(
2-
[string]$Version = "1.3.1",
2+
[string]$Version = "1.4.0",
33
[string]$Configuration = "Release",
44
[switch]$SkipPublish
55
)

build/build-release.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
param(
2-
[string]$Version = "1.3.1",
2+
[string]$Version = "1.4.0",
33
[string]$Configuration = "Release",
44
[string]$Runtime = "win-x64"
55
)

build/package-release-zips.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
param(
2-
[string]$Version = "1.3.1"
2+
[string]$Version = "1.4.0"
33
)
44

55
$ErrorActionPreference = "Stop"

chocolatey/threadpilot.nuspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
33
<metadata>
44
<id>threadpilot</id>
5-
<version>1.3.1</version>
5+
<version>1.4.0</version>
66
<title>ThreadPilot</title>
77
<authors>Prime Build</authors>
88
<projectUrl>https://github.com/PrimeBuild-pc/ThreadPilot</projectUrl>
@@ -15,7 +15,7 @@
1515
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1616
<description>Advanced Windows process and power plan manager with rules automation and performance controls.</description>
1717
<summary>ThreadPilot process and power plan manager.</summary>
18-
<releaseNotes>https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.3.1</releaseNotes>
18+
<releaseNotes>https://github.com/PrimeBuild-pc/ThreadPilot/releases/tag/v1.4.0</releaseNotes>
1919
<tags>threadpilot process powerplan performance windows</tags>
2020
</metadata>
2121
<files>

0 commit comments

Comments
 (0)