From de630c989756917e61a8f0d085f1aecc07c89fe9 Mon Sep 17 00:00:00 2001 From: Siegfried Pammer Date: Sun, 20 Mar 2022 20:35:42 +0100 Subject: [PATCH] Fix ghactions-install.ps1 --- BuildTools/ghactions-install.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BuildTools/ghactions-install.ps1 b/BuildTools/ghactions-install.ps1 index e65e3e734..bb2b88b91 100644 --- a/BuildTools/ghactions-install.ps1 +++ b/BuildTools/ghactions-install.ps1 @@ -6,10 +6,10 @@ $baseCommitRev = 1; # make sure this matches artifacts-only branches list in appveyor.yml! $masterBranches = '^refs/heads/(master|release/.+)$'; -$globalAssemblyInfoTemplateFile = "ILSpy/Properties/AssemblyInfo.template.cs"; +$decompilerVersionInfoTemplateFile = "ICSharpCode.Decompiler/Properties/DecompilerVersionInfo.template.cs"; $versionParts = @{}; -Get-Content $globalAssemblyInfoTemplateFile | where { $_ -match 'string (\w+) = "?(\w+)"?;' } | foreach { $versionParts.Add($Matches[1], $Matches[2]) } +Get-Content $decompilerVersionInfoTemplateFile | where { $_ -match 'string (\w+) = "?(\w+)"?;' } | foreach { $versionParts.Add($Matches[1], $Matches[2]) } $major = $versionParts.Major; $minor = $versionParts.Minor;