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?
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