Hi All,
I have created a manual action at the end of my gitlabci pipeline that I call "release".
When this release target is invoked, I will spawn gradle to run the
gradle-release plugin. This will
- Remove the "-SNAPSHOT" qualified of the version in the root gradle.properties file
- Commit the change to gradle.properties
- Create a tag
- Increment the version number and re-add a "-SNAPSHOT" qualifier to the gradle.properties
- Commit gradle.properties
The gradle-release plugin is mightily upset, because it is not on a branch.
How can I have gitlabci tasks make changes to repository files, create tabs, etc. when there is no checked-out branch?
Any input would be greatly appreciated.