Skip to content

Commit

Permalink
clean dSYM
Browse files Browse the repository at this point in the history
  • Loading branch information
clayallsopp committed Feb 22, 2014
1 parent 0f99a34 commit 286c108
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions lib/motion/project/hockeyapp.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,12 @@ def hockeyapp?
previous_hockeyapp_mode = File.read(previous_hockeyapp_mode_file).strip
end
if previous_hockeyapp_mode != hockeyapp_mode
App.info "HockeyApp", "Cleaning executable, Info.plist, and PkgInfo for mode change (was: #{previous_hockeyapp_mode}, now: #{hockeyapp_mode})"
App.info "HockeyApp", "Cleaning executable, Info.plist, dSYM, and PkgInfo for mode change (was: #{previous_hockeyapp_mode}, now: #{hockeyapp_mode})"
[
App.config.app_bundle_executable(platform), # main_exec
File.join(bundle_path, 'Info.plist'), # bundle_info_plist
File.join(bundle_path, 'PkgInfo') # bundle_pkginfo
File.join(bundle_path, 'PkgInfo'), # bundle_pkginfo
App.config.app_bundle_dsym(platform)
].each do |path|
rm_rf(path) if File.exist?(path)
end
Expand Down
2 changes: 1 addition & 1 deletion motion-hockeyrink.gemspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# -*- encoding: utf-8 -*-

Version = "0.2.1"
Version = "0.2.2"

Gem::Specification.new do |spec|
spec.name = 'motion-hockeyrink'
Expand Down

0 comments on commit 286c108

Please sign in to comment.