tasks/00_utils.rake
# Determines if this package is a final package via the
# selected version_strategy.
# There are currently two supported version strategies.
#
# This method calls down to the version strategy indicated, defaulting to the
# rc_final strategy. The methods themselves will return false if it is a final
# release, so their return values are collected and then inverted before being
# returned.
Determines if this package is a final package via the
selected version_strategy.
There are currently two supported version strategies.

This method calls down to the version strategy indicated, defaulting to the
rc_final strategy. The methods themselves will return false if it is a final
release, so their return values are collected and then inverted before being
returned.
Determines if this package is a final package via the selected version_strategy . There are currently two supported version strategies . This method calls down to the version strategy indicated defaulting to the rc_final strategy . The methods themselves will return false if it is a final release so their return values are collected and then inverted before being returned .
def is_final?
  ret = nil
  case @build.version_strategy
    when "rc_final"
      ret = is_rc?
    when "odd_even"
      ret = is_odd?
    when nil
      ret = is_rc?
  end
  return (! ret)
end
def is_final? ret = nil case @build . version_strategy when "rc_final" ret = is_rc? when "odd_even" ret = is_odd? when nil ret = is_rc? end return ( ! ret ) end
Determines if this package is a final package via the
selected version_strategy.
Determines if this package is a final package via the selected version_strategy .