Skip to content

Commit

Permalink
Use Digest::MD5.file instead of Digest::MD5.hexdigest
Browse files Browse the repository at this point in the history
  • Loading branch information
reflexing committed May 2, 2024
1 parent df12128 commit cbe63ed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def generate(app_id: nil, pkg_path: nil, package_path: nil, platform: "osx")
apple_id: app_id,
file_size: File.size(pkg_path),
ipa_path: File.basename(pkg_path), # this is only the base name as the ipa is inside the package
md5: Digest::MD5.hexdigest(File.read(pkg_path)),
md5: Digest::MD5.file(pkg_path).hexdigest,
archive_type: 'product-archive',
platform: platform
}
Expand Down

0 comments on commit cbe63ed

Please sign in to comment.