Sha256: 0a0bc248079bde67e3a7b24a31e13c58ecb8ac39a62c213efe0f35d924f9613d

Contents?: true

Size: 453 Bytes

Versions: 2

Compression:

Stored size: 453 Bytes

Contents

require 'colorize'
require_relative '../util/submodule'

module GGSM
  module Finish
    include Submodule

    def finish_flow
      check_submodule

      foreach_module {
        system "git add .;git commit;git push origin #{get_current_branch}"
      }

      puts '==> 进入主工程:'.yellow
      system "git add .;git commit;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.5.0 lib/ggsm/flow/finish.rb
ggsm-1.4.0 lib/ggsm/flow/finish.rb