We have implemented travis as our CI. Now we want do be able to create a
version.properties with the number version of the releases.
For that we created a script on our travis, so when tag is building, it creates the file, and commits in the branch (develop).
The problem here, is how can we push this commit to our repository? Because we have
protect branches e nabled, so no one can push directly to develop. And the token to commit from travis is from one of the developers.
We have two options:
- Create a “super user” token, (from admin) so it will allow commits on main branch.
- Disable protected branches
Is there any way to make it without that options? Thanks