Skip to content

Commit 9030b27

Browse files
authored
Merge pull request #2 from mdanish-kh/patch-1
Remove DisplayVersion from release PRs
2 parents 205b459 + 7602705 commit 9030b27

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

MsiTools.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,3 @@ public static string GetProductName(string msi)
3535
{
3636
return GetPackageProperty(msi, "ProductName");
3737
}
38-
public static string GetProductVersion(string msi)
39-
{
40-
return GetPackageProperty(msi, "ProductVersion");
41-
}

check.ps1

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ foreach ($toolchain in @("MSVC", "GNU")) {
135135
$absolutePath = Resolve-Path $path;
136136
$productCode = $msiTools::GetProductCode($absolutePath)
137137
$productName = $msiTools::GetProductName($absolutePath);
138-
$productVersion = $msiTools::GetProductVersion($absolutePath);
139138
Remove-Item $path;
140139
$arch = if ($installer.Contains("i686")) {
141140
"x86"
@@ -148,7 +147,6 @@ foreach ($toolchain in @("MSVC", "GNU")) {
148147
$appsAndFeaturesEntry = [ordered]@{
149148
DisplayName = $productName;
150149
ProductCode = $productCode;
151-
DisplayVersion = $productVersion;
152150
};
153151
$installerEntry = [ordered]@{
154152
Architecture = $arch;

0 commit comments

Comments
 (0)