From 340ae815d94ba3adbf17eb2cc0422f97e52575f5 Mon Sep 17 00:00:00 2001 From: Devin Binnie <52460000+devinbinnie@users.noreply.github.com> Date: Thu, 13 Oct 2022 10:11:04 -0400 Subject: [PATCH] Fix MSI build by removing changelog requirement (#2284) --- scripts/Makefile.ps1 | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scripts/Makefile.ps1 b/scripts/Makefile.ps1 index 62069bda..006a6a3d 100644 --- a/scripts/Makefile.ps1 +++ b/scripts/Makefile.ps1 @@ -511,18 +511,6 @@ function Run-BuildId { Print-Info "Modified Wix XML" } -function Run-BuildChangelog { - Print-Info "Getting list of commits for changelog..." - $previousTag = $(Invoke-Expression "git describe --abbrev=0 --tags $(git describe --abbrev=0)^") - $currentTag = [string]"HEAD" - $changelogRaw = "$(git log --oneline --since=""$(git log -1 ""$previousTag"" --pretty=%ad)"" --until=""$(git log -1 "$currentTag" --pretty=%ad)"")" - $changelog = ""; - foreach ($i in $changelogRaw) { - $changelog += "* $i`n" - } - $env:COM_MATTERMOST_MAKEFILE_BUILD_CHANGELOG = $changelog -} - function Run-BuildElectron { Print-Info "Installing nodejs/electron dependencies (running npm ci)..." npm i -g node-gyp @@ -678,7 +666,6 @@ function Run-Build { Prepare-Path Get-Cert Run-BuildId - Run-BuildChangelog Run-BuildElectron Run-BuildForceSignature Run-BuildLicense