diff --git a/scripts/Build-Electron.ps1 b/scripts/Build-Electron.ps1 index 80484b54..ccebe60f 100644 --- a/scripts/Build-Electron.ps1 +++ b/scripts/Build-Electron.ps1 @@ -30,7 +30,7 @@ if ($electronbuild -eq "cloud") { 'ref' = $branch_name 'inputs' = @{ 'target' = 'release' - 'version' = $base_tag_origin + 'version' = "v$base_tag_origin" } } | ConvertTo-Json ContentType = "application/json" diff --git a/scripts/Rewrite-DraftReleaseTag.ps1 b/scripts/Rewrite-DraftReleaseTag.ps1 index bb850eaf..db6fd380 100644 --- a/scripts/Rewrite-DraftReleaseTag.ps1 +++ b/scripts/Rewrite-DraftReleaseTag.ps1 @@ -23,7 +23,7 @@ if ($INPUT_VERSION) { if (-not $CRON_LAUNCHED) { if (-not ($from -and $to)) { "`nFrom and To inputs were not provided or could not be determeined automatically!" - exit 1 + exit 0 } else { "Rewriting draft version from $from to $to..." }