diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2022-04-22 05:13:37 +0300 |
---|---|---|
committer | Marcel Amirault <mamirault@gitlab.com> | 2022-04-22 05:13:37 +0300 |
commit | 908e1dc78920c30d154863c63bff54972a09b057 (patch) | |
tree | baf86c60b9d9c9cb7b17dee89ae8aa684914807d | |
parent | 15f9280fee78679c62ee204ab0bd8577800d3993 (diff) |
Add operator to retrieve_branch
-rw-r--r-- | lib/task_helpers.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/task_helpers.rb b/lib/task_helpers.rb index 4b5cd1ea..01f686c5 100644 --- a/lib/task_helpers.rb +++ b/lib/task_helpers.rb @@ -35,6 +35,8 @@ def retrieve_branch(slug) when 'charts' chart = chart_version(ENV["CI_COMMIT_REF_NAME"]).match(VERSION_FORMAT) "#{chart[:major]}-#{chart[:minor]}-stable" + when 'operator' + "master" end # If we're NOT on a gitlab-docs stable branch, fetch the BRANCH_* environment # variable, and if not assigned, set to the default branch. |