Skip to content

Latest commit

 

History

History
83 lines (54 loc) · 1.83 KB

CONTRIBUTING.md

File metadata and controls

83 lines (54 loc) · 1.83 KB

We love people filing issues and sending pull requests!

How to contribute

Running the tests

Run the tests using the default SDK (iOS 9.2) by using:

make test

Alternately, you can specify an iOS SDK:

make SDK=iphonesimulator8.1 test

Or test on OS X:

make BUILD_OSX=1 test

If you are interested in cleaner formatting, run make bootstrap to install xcpretty as an output formatter.

Releasing a new version

If you're a member of the core team, you can release the cocoa pod as follows:

One time setup

  • Install Cocoapods

    gem install cocoapods
    
  • Register

    pod trunk register [email protected] 'Bugsnag Notifiers' --description='your name'
    
  • Click the link in the email that got sent to support

Every time

  • Update the CHANGELOG. Update the README.md if appropriate.

  • Update the version number in Source/Bugsnag/BugsnagNotifier.m and Bugsnag.podspec

  • Commit tag and push

    git commit -am v4.x.x
    git tag v4.x.x
    git push origin master v4.x.x
    
  • Update cocoapods

    pod trunk push --allow-warnings
    
  • Build a new Zipfile to build/relase/Bugsnag-4.x.x.zip

    rake build
    
  • Create a new release https://github.com/bugsnag/bugsnag-cocoa/releases/new

  • Select the tag you just pushed

  • Set the title to the tag (v4.x.x)

  • Copy the changelog entries into the release notes

  • Drag and drop the zipfile

  • Click "Publish Release"