diff options
author | Achilleas Pipinellis <axil@gitlab.com> | 2022-11-04 13:43:56 +0300 |
---|---|---|
committer | Achilleas Pipinellis <axil@gitlab.com> | 2022-11-04 13:43:56 +0300 |
commit | 006773ff3e74f40653244cd664b6e9f139394ad2 (patch) | |
tree | 803a5526c13f8152925b07e874bfdeb6b801cd22 /lib | |
parent | e247b11313f056634080c7e1f5b396a428e55456 (diff) |
Add mr_title in gitlab-docs redirects push
The mr_title was defined in a previous block which was
outside the scope of the last push for gitlab-docs.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/redirects.rake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/tasks/redirects.rake b/lib/tasks/redirects.rake index 11022a8b..0083424f 100644 --- a/lib/tasks/redirects.rake +++ b/lib/tasks/redirects.rake @@ -183,6 +183,7 @@ namespace :docs do # 2. Add the changed files # 3. Commit and push the branch to create the MR # + mr_title = "Clean up docs redirects - #{today}" puts "\n#{TaskHelpers::COLOR_CODE_GREEN}INFO: (gitlab-docs): Creating a new branch for the redirects MR..#{TaskHelpers::COLOR_CODE_RESET}" system("git", "checkout", "--quiet", "-b", redirects_branch, "origin/main") puts "\n#{TaskHelpers::COLOR_CODE_GREEN}INFO: (gitlab-docs): Committing and pushing to create a merge request..#{TaskHelpers::COLOR_CODE_RESET}" |