Skip to content

Commit

Permalink
Fixed Contents.json file not being copied to the versioned appiconset…
Browse files Browse the repository at this point in the history
… directory

(introduced by 47bd896)
  • Loading branch information
revolter committed Apr 1, 2018
1 parent bb58469 commit 4053a2a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module Fastlane
module Helper
class VersionIconHelper
CACHE_FILE_NAME = 'cache.yml'.freeze
CONTENTS_JSON_FILE_NAME = 'Contents.json'.freeze

def initialize(params)
@appiconset_path = File.expand_path(params[:appiconset_path])
Expand All @@ -36,6 +37,8 @@ def run()
cache = {}
end

FileUtils.copy("#{@appiconset_path}/#{CONTENTS_JSON_FILE_NAME}", "#{versioned_appiconset_path}/#{CONTENTS_JSON_FILE_NAME}")

Dir.glob("#{@appiconset_path}/*.png").each do |original_icon_path|
versioned_icon_path = self.class.get_versioned_path(original_icon_path)

Expand Down
Empty file.
Empty file.

0 comments on commit 4053a2a

Please sign in to comment.