lib/mixlib/install/backend/bintray.rb in mixlib-install-0.8.0.alpha.8 vs lib/mixlib/install/backend/bintray.rb in mixlib-install-1.0.0
- old
+ new
@@ -111,10 +111,10 @@
# Get artifacts for a given version, channel and product_name
#
# @return [Array<ArtifactInfo>] Array of info about found artifacts
#
def bintray_artifacts
- version = options.product_version == :latest ? latest_version : options.product_version
+ version = options.latest_version? ? latest_version : options.product_version
results = bintray_get("#{options.channel}/#{options.product_name}/versions/#{version}/files")
#
# Delete .asc files
# Also delete .pkg files which are uploaded along with dmg files for