Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Read <eread@gitlab.com>2022-05-24 01:42:12 +0300
committerEvan Read <eread@gitlab.com>2022-05-24 01:42:12 +0300
commit33fa2733c3807f93598a50cba6f1aa41264f8ca6 (patch)
tree08460c104ea7891f7a40d08da275c5bcfa01190b
parentad4797a00c43661f71d8b6a3ddbe2b08a215366b (diff)
Refine debug output
-rw-r--r--Rakefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Rakefile b/Rakefile
index 535e85fb..fac6e16e 100644
--- a/Rakefile
+++ b/Rakefile
@@ -14,7 +14,7 @@ task :setup_git do
puts "\n#{COLOR_CODE_GREEN}INFO: Setting up dummy user and email in Git..#{COLOR_CODE_RESET}"
`git config --global user.name "Sidney Jones"`
- `git config --global user.email "sidneyjones@example.com`
+ `git config --global user.email "sidneyjones@example.com"`
end
desc 'Clone Git repositories of documentation projects, keeping only the most recent commit'
@@ -32,12 +32,12 @@ task :clone_repositories do
&& branch == ENV['CI_DEFAULT_BRANCH'] \
&& ENV["CI_PIPELINE_SOURCE"] == 'pipeline'
- puts "\n#{COLOR_CODE_GREEN}INFO: Cloning #{product['repo']} into #{product['project_dir']}..#{COLOR_CODE_RESET}"
+ puts "\n#{COLOR_CODE_GREEN}INFO: Cloning #{product['repo']} into #{product['project_dir']} ..#{COLOR_CODE_RESET}"
`git clone --branch #{branch} --single-branch #{product['repo']} --depth 1 #{product['project_dir']}`
# Print the latest commit from each project so that we can see which commit we're building from.
- puts "\n#{COLOR_CODE_GREEN}INFO: Latest commit: #{`git -C #{product['project_dir']} log --oneline -n 1`}.#{COLOR_CODE_RESET}"
+ puts "\n#{COLOR_CODE_GREEN}INFO: Latest commit: #{`git -C #{product['project_dir']} log --oneline -n 1`}#{COLOR_CODE_RESET}"
end
end