diff options
author | Evan Read <eread@gitlab.com> | 2022-05-24 01:42:12 +0300 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2022-05-24 01:42:12 +0300 |
commit | 33fa2733c3807f93598a50cba6f1aa41264f8ca6 (patch) | |
tree | 08460c104ea7891f7a40d08da275c5bcfa01190b | |
parent | ad4797a00c43661f71d8b6a3ddbe2b08a215366b (diff) |
Refine debug output
-rw-r--r-- | Rakefile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |