Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

How to update podspec

Josh Gavant edited this page Apr 27, 2015 · 1 revision
  1. Complete and commit all changes for the new version in the dev branch. Updating the podspec should be the last step.

  2. Update s.version in the Office365.podspec file in the root of the repo in the dev branch as the final commit.

NOTE The s.source hash automatically determines the git tag to use from the s.version number.

  1. Merge all of these commits from dev to master branch.

  2. Tag this latest commit of the master branch with the same version specified in the podspec.

  3. Run sudo gem update to make sure you have the latest version of the Cocoapods gem on your machine.

  4. Run pod trunk me to see if your system has a registered session with the Cocoapods trunk. If not, run pod trunk register <...> and look in your email to register a session. Follow the steps here for best results.

  5. If you need permission to upload to trunk, contact one of the current owners, listed in the latest podspec in the repo here. A current owner can add you once you've registered with trunk by executing pod trunk add-owner Office365 <your-email>.

  6. Now execute pod trunk push Office365.podspec. The podspec will be linted and then pushed to the repo.

Clone this wiki locally