-
Notifications
You must be signed in to change notification settings - Fork 49
How to update podspec
-
Complete and commit all changes for the new version in the dev branch. Updating the podspec should be the last step.
-
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 thes.version
number.
-
Merge all of these commits from dev to master branch.
-
Tag this latest commit of the master branch with the same version specified in the podspec.
-
Run
sudo gem update
to make sure you have the latest version of the Cocoapods gem on your machine. -
Run
pod trunk me
to see if your system has a registered session with the Cocoapods trunk. If not, runpod trunk register <...>
and look in your email to register a session. Follow the steps here for best results. -
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>
. -
Now execute
pod trunk push Office365.podspec
. The podspec will be linted and then pushed to the repo.