Sha256: b8f52aa32f7861115ef4e4ea2416ef20e3d964adf38125f3c09830eead6fd019

Contents?: true

Size: 1.72 KB

Versions: 3

Compression:

Stored size: 1.72 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'
    modules = BigkeeperParser.module_names
    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

3 entries across 3 versions & 1 rubygems

Version Path
bigkeeper-0.9.17 lib/big_keeper/command/release/home.rb
bigkeeper-0.9.16 lib/big_keeper/command/release/home.rb
bigkeeper-0.9.15 lib/big_keeper/command/release/home.rb