From a68fc27cc6a3e99d9c5df74256205ca481c16789 Mon Sep 17 00:00:00 2001 From: Jaifroid Date: Mon, 11 Apr 2022 04:59:00 +0100 Subject: [PATCH] Build scripts Former-commit-id: b0949c8d8eaa55c73df0757b86fce288d11911b0 [formerly 16a4238ed1fb4c88be97f24926d61f5526e665f2] [formerly b25a43428a0ffc6341004a1bae1bbbf913fc943c] [formerly 8905110294c480812df0aa062455aff7e120162a [formerly e55efeb0ccf4018ed6dc88c4eead93a7bd70d8c4 [formerly 36b38db5d10a237534d1a1657b02196eed1acad1]]] Former-commit-id: 5f8dd8bf0eb1816bef8ffc76be73d5ad17c90776 [formerly 497a8314fab051c741d330b419c5b616babf8675 [formerly 014c372e24d8319f82ebbe77dbe220b74c2c18ad]] Former-commit-id: 3a1afc5e05afd4982d54725bdaed606b67be5e24 [formerly 5c5ac1fc484c2ce8b1786d0e66d8aa9d7e5daae9] Former-commit-id: 3b8870ea78a88e19e4cd0ec0e36d878d4c942d32 --- scripts/Build-Electron.ps1 | 2 +- scripts/Rewrite-DraftReleaseTag.ps1 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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..." }