统计提交数rake
This commit is contained in:
parent
7ef5e48b9d
commit
e9c7009c39
|
@ -1,6 +1,6 @@
|
||||||
namespace :total_commit_count do
|
namespace :total_commit_count do
|
||||||
desc "total_commit_count"
|
desc "total_commit_count"
|
||||||
task git_demo_raw: :environment do
|
task done: :environment do
|
||||||
project_name = ENV['name'] || "mindspore"
|
project_name = ENV['name'] || "mindspore"
|
||||||
puts "project_id=================#{project_name}"
|
puts "project_id=================#{project_name}"
|
||||||
projects = Project.where("name like ?", "%#{project_name}%")
|
projects = Project.where("name like ?", "%#{project_name}%")
|
||||||
|
|
Loading…
Reference in New Issue