Skip to content

Commit

Permalink
test(IT): cleanup commit message again (handle 'ci skip')
Browse files Browse the repository at this point in the history
  • Loading branch information
o-orand committed Oct 4, 2019
1 parent 671798a commit 399d961
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/coa/env_bootstrapper/git.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def init_and_push(repo_path, repo_name)
Dir.chdir repo_path do
submodule_commit_reference = templates_coa_reference_dataset_submodule_sha1(coa_submodule_path, repo_path)
reference_commit = run_cmd "git log -1 --oneline", fail_silently: true
reference_commit.gsub('[skip ci]', '')
reference_commit = reference_commit.gsub('[skip ci]', '')
reference_commit = reference_commit.gsub('[ci skip]', '')
run_cmd "git init ."
run_cmd "git config --local user.email '[email protected]'"
run_cmd "git config --local user.name 'Fake User For COA Bootstrapper Pipeline'"
Expand Down

0 comments on commit 399d961

Please sign in to comment.