Sha256: 581c535dec106cdd646ea6a78ba0251e520308a587c5c2014ad23c9908c9b118
Contents?: true
Size: 638 Bytes
Versions: 6
Compression:
Stored size: 638 Bytes
Contents
require 'papa/task/common/start' require 'papa/command/larga/type' require 'papa/command/larga/deploy' require 'date' module Papa module Task module Integration class Start < Common::Start def initialize(base_branch, options = {}) @build_type = 'integration' @base_branch = base_branch @build_branch = "#{@build_type}/#{options[:override_branch_name] || generate_integration_timestamp}" super() end private def generate_integration_timestamp DateTime.now.strftime('%y.%m.%d.%H.%M.%S').gsub('.0', '.') end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems