Created
April 22, 2015 22:08
-
-
Save svyatogor/89c9ccbbe3f33cb599bf to your computer and use it in GitHub Desktop.
upload dSYM to bugsnag after archive:distribution task in your rubymotion project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
task "upload_dsym" do | |
dsym_path = App.config.app_bundle_dsym(App.config.deploy_platform) | |
app_name = App.config_without_setup.name | |
`curl https://upload.bugsnag.com/ -F dsym=@"#{dsym_path}/Contents/Resources/DWARF/#{app_name}"` | |
end | |
namespace :archive do | |
task :distribution do | |
Rake::Task['upload_dsym'].invoke | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment