How to give BitRise permission to push to a repository on Bitbucket

As part of the build process, BitRise will increment the version number and update a file. I need BitRise to be able to commit and push that file to the origin. What’s the easiest (secure) way to accomplish this?

Hi @jtscott,

Please see: How to commit updated AppInfo.plist after being updated by "Set Xcode Project Build Number" step

Also note that on bitbucket (AFAIK) you can’t register a read-write SSH key for repos, only as personal SSH keys.

P.S.: in general if possible you should not push back changes from the build, instead use the bitrise.io provided Build Number. More info: https://stackoverflow.com/questions/33821137/build-versioning-in-continuous-delivery/33821876#33821876

1 Like