aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-10-30 11:49:15 -0400
committerJames McCoy <jamessan@jamessan.com>2021-10-30 14:02:04 -0400
commitc84b86fe3dce633b551dc395d2c07ff40e6fb42c (patch)
treeb5f87298cc958343cfa7c692357dfc6c7b604ade
parentc819ce1fd495b375ceaa85421f838b30f8b80017 (diff)
downloadrneovim-c84b86fe3dce633b551dc395d2c07ff40e6fb42c.tar.gz
rneovim-c84b86fe3dce633b551dc395d2c07ff40e6fb42c.tar.bz2
rneovim-c84b86fe3dce633b551dc395d2c07ff40e6fb42c.zip
ci: make sure choco cpack does not interfere with CMake cpack
[skip ci]
-rw-r--r--ci/build.ps13
1 files changed, 3 insertions, 0 deletions
diff --git a/ci/build.ps1 b/ci/build.ps1
index 8876ac31ef..a8b67c485b 100644
--- a/ci/build.ps1
+++ b/ci/build.ps1
@@ -170,6 +170,9 @@ if (-not $NoTests) {
}
}
+# Ensure choco's cpack is not in PATH otherwise, it conflicts with CMake's
+Remove-Item -Path $env:ChocolateyInstall\bin\cpack.exe -Force
+
# Build artifacts
cpack -G ZIP -C RelWithDebInfo
if ($env:APPVEYOR_REPO_TAG_NAME -ne $null) {