Sha256: e4d5289c16951cd87f5b9795147ad7a2988a39a3255489a5fbd390f836f9a46c
Contents?: true
Size: 662 Bytes
Versions: 2
Compression:
Stored size: 662 Bytes
Contents
require 'colorize' require_relative '../util/submodule' module GGSM module Finish include Submodule def finish_flow check_submodule check_un_commit_code subs = get_submodule subs.each do |sub| Dir.chdir sub puts "==> 进入#{sub}:".yellow system 'git add .' system 'git commit' system "git push origin #{get_current_branch}" Dir.chdir '..' end puts '==> 进入主工程:'.yellow system 'git add .' system 'git commit' system "git push origin #{get_current_branch}" puts 'Modules执行:git add & commit & push'.blue end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ggsm-1.1.1 | lib/ggsm/flow/finish.rb |
ggsm-1.1.0 | lib/ggsm/flow/finish.rb |