We love people filing issues and sending pull requests!
- Fork the notifier on github
- Commit and push until you are happy with your contribution
- Test your changes
- Make a pull request
- Thanks!
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.
If you're a member of the core team, you can release the cocoa pod as follows:
-
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
-
Update the CHANGELOG. Update the README.md if appropriate.
-
Update the version number in
Source/Bugsnag/BugsnagNotifier.m
andBugsnag.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"