From 471b88b68863d06568efb833d74b02f0879b1c89 Mon Sep 17 00:00:00 2001 From: Freddy Kristiansen Date: Wed, 18 Dec 2024 13:32:16 +0100 Subject: [PATCH] fix end 2 end test (#1370) Co-authored-by: freddydk --- e2eTests/Workflows/RunCreateRelease.ps1 | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/e2eTests/Workflows/RunCreateRelease.ps1 b/e2eTests/Workflows/RunCreateRelease.ps1 index 3c1f602c3..f565cb012 100644 --- a/e2eTests/Workflows/RunCreateRelease.ps1 +++ b/e2eTests/Workflows/RunCreateRelease.ps1 @@ -3,10 +3,11 @@ [string] $appVersion, [string] $name, [string] $tag, - [switch] $prerelease, - [switch] $draft, + [ValidateSet('Release','Draft','Prerelease')] + [string] $releaseType = 'Release', [switch] $createReleaseBranch, [string] $updateVersionNumber = '', + [switch] $skipUpdatingDependencies, [switch] $directCommit, [switch] $useGhTokenWorkflow, [switch] $wait, @@ -19,10 +20,10 @@ "appVersion" = $appVersion "name" = $name "tag" = $tag - "prerelease" = @("true","false")[!$prerelease] - "draft" = @("true","false")[!$draft] + "releaseType" = $releaseType "createReleaseBranch" = @("true","false")[!$createReleaseBranch] "updateVersionNumber" = $updateVersionNumber + "skipUpdatingDependencies" = @("true","false")[!$skipUpdatingDependencies] "directCommit" = @("true","false")[!$directCommit] "useGhTokenWorkflow" = @("true","false")[!$useGhTokenWorkflow] }