From 518d6a379c309dbf067e0fb8b56a7d0d843fff64 Mon Sep 17 00:00:00 2001 From: Denis Gukov Date: Sun, 22 Dec 2024 03:30:52 +0500 Subject: [PATCH] ci: support rc --- .github/workflows/release.yml | 1 + db_lib/TerraformApp.go | 3 ++- web/src/components/TaskParamsForm.vue | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e627c890..64c166a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,6 +4,7 @@ name: Release push: tags: - 'v[0-9]+.[0-9]+.[0-9]+' + - v*-rc* jobs: release: diff --git a/db_lib/TerraformApp.go b/db_lib/TerraformApp.go index 6e9b8e4e..d413fb3a 100644 --- a/db_lib/TerraformApp.go +++ b/db_lib/TerraformApp.go @@ -128,7 +128,8 @@ func (t *TerraformApp) init(environmentVars []string, params *db.TerraformTaskPa s := strings.TrimSpace(msg) if strings.Contains(s, "Do you want to copy ") { t.Logger.SetStatus(task_logger.TaskWaitingConfirmation) - } else if strings.Contains(msg, "has been successfully initialized!") { + } else if strings.Contains(msg, "has been successfully initialized!") || + strings.Contains(msg, "Error:") { t.reader.EOF = true } }) diff --git a/web/src/components/TaskParamsForm.vue b/web/src/components/TaskParamsForm.vue index 8d996b45..b6df6eb3 100644 --- a/web/src/components/TaskParamsForm.vue +++ b/web/src/components/TaskParamsForm.vue @@ -109,7 +109,7 @@