Fix bug.
This commit is contained in:
parent
7d2cc811db
commit
0c4187ddf3
|
@ -70,7 +70,8 @@ module PersonalPluginGenerator
|
|||
if %x[#{git} config user.email].empty?
|
||||
%x[#{git} config --global user.email "orbit@rulingcom.com"]
|
||||
end
|
||||
system("cd #{ENV['PWD']} && sh -l -c \"#{git_add_except_public} ; #{git} commit -m auto_backup_before_#{type}_#{time_now} --allow-empty && #{git} reset #{commit} --mixed ; #{git_add_custom} ; #{git_restore} ; #{git_add_except_public} ; #{git} clean -f -- app/models ; #{git} commit -m complete_#{type}_#{time_now} --allow-empty\"")
|
||||
puts "Updating orbit-kernel..."
|
||||
system("cd #{ENV['PWD']} && bash -l -c \"#{git_add_except_public} ; #{git} commit -m auto_backup_before_#{type}_#{time_now} --allow-empty && #{git} reset #{commit} --mixed ; #{git_add_custom} ; #{git_restore} ; #{git_add_except_public} ; #{git} clean -f -- app/models ; #{git} commit -m complete_#{type}_#{time_now} --allow-empty\" > /dev/null")
|
||||
puts "Updated! " + new_updates.first.to_s
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue