Sha256: f99cc10b709421525d4dda301fc1674d27510ed8cbbf2e9a326c99c5d9924e49

Contents?: true

Size: 1.68 KB

Versions: 4

Compression:

Stored size: 1.68 KB

Contents

#!/usr/bin/ruby
require 'big_keeper/util/podfile_operator'
require 'big_keeper/util/gitflow_operator'
require 'big_keeper/dependency/dep_type'
require 'big_keeper/util/info_plist_operator'
require 'big_keeper/util/logger'
require 'big_keeper/util/xcode_operator'
require 'big_keeper/model/operate_type'

module BigKeeper
  def self.prerelease_start(path, version, user, modules)
    BigkeeperParser.parse("#{path}/Bigkeeper")
    version = BigkeeperParser.version if version == 'Version in Bigkeeper file'
    DepService.dep_operator(path, user).prerelease_start(path, version, user, modules)
  end

  def self.prerelease_finish(path, version, user, modules)
    BigkeeperParser.parse("#{path}/Bigkeeper")
    version = BigkeeperParser.version if version == 'Version in Bigkeeper file'
    modules = BigkeeperParser.module_names
    DepService.dep_operator(path, user).prerelease_finish(path, version, user, modules)
  end

  def self.release_home_start(path, version, user, modules)
    DepService.dep_operator(path, user).release_home_start(path, version, user, modules)
  end

  def self.release_home_finish(path, version, user, modules)
    BigkeeperParser.parse("#{path}/Bigkeeper")

    version = BigkeeperParser.version if version == 'Version in Bigkeeper file'
    modules = []
    BigkeeperParser.module_names.each do |module_name|
      module_full_path = BigkeeperParser.module_full_path(path, user, module_name)
      if GitOperator.new.has_branch(module_full_path, "release/#{version}")
        Logger.highlight("#{module_name} has release/#{version}")
        modules << module_name
      end
    end
54322
    DepService.dep_operator(path, user).release_home_finish(path, version, user, modules)
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bigkeeper-0.9.21 lib/big_keeper/command/release/home.rb
bigkeeper-0.9.20 lib/big_keeper/command/release/home.rb
bigkeeper-0.9.19 lib/big_keeper/command/release/home.rb
bigkeeper-0.9.18 lib/big_keeper/command/release/home.rb