From d36776aafcd04a51ece9b6d6c30de0782ceabd30 Mon Sep 17 00:00:00 2001 From: Travis Plunk Date: Wed, 2 Aug 2017 15:14:47 -0700 Subject: [PATCH] Add -Force parameter to new-zippackage (#4465) --- tools/packaging/packaging.psm1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/packaging/packaging.psm1 b/tools/packaging/packaging.psm1 index aab019d55d..dc3a78e44d 100644 --- a/tools/packaging/packaging.psm1 +++ b/tools/packaging/packaging.psm1 @@ -555,7 +555,9 @@ function New-ZipPackage # Source Path to the Product Files - required to package the contents into an Zip [Parameter(Mandatory = $true)] [ValidateNotNullOrEmpty()] - [string] $PackageSourcePath + [string] $PackageSourcePath, + + [switch] $Force ) $ProductSemanticVersion = Get-PackageSemanticVersion -Version $PackageVersion