From 45099bfa079c02d03d38ee0acea3d0d21de5fb4d Mon Sep 17 00:00:00 2001 From: David Sparer Date: Wed, 22 Mar 2017 16:22:53 -0600 Subject: [PATCH] try to get around weird type casting issue --- Tools/publish_to_github.ps1 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Tools/publish_to_github.ps1 b/Tools/publish_to_github.ps1 index 470658cb..7df25e44 100644 --- a/Tools/publish_to_github.ps1 +++ b/Tools/publish_to_github.ps1 @@ -29,18 +29,20 @@ param ( # $Description, - [bool] + [string] [Parameter(Mandatory=$true)] - # + # true/false $IsDraft, - [bool] + [string] [Parameter(Mandatory=$true)] - # + [ValidateSet("true","false")] + # true/false $IsPrerelease, [string] [Parameter(Mandatory=$true)] + [ValidateSet("true","false")] # Path to the zip file to upload with the release $ZipFilePath,