diff options
author | Marcel Amirault <mamirault@gitlab.com> | 2022-04-22 05:13:37 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2022-04-22 05:24:41 +0300 |
commit | aefee37700b9ba74024202ac9aa99ef762ca81f4 (patch) | |
tree | 1e71a877256ce67cba5f628356b3e38a9b817d47 /lib | |
parent | 74701e7f9371e101194fe4329bd12649f24f46d6 (diff) |
Add operator to retrieve_branch
Diffstat (limited to 'lib')
-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. |