Trent
Trent
What happened to this and the pull request?
I'd like to have some way of setting the 'SNAPSHOT' value based on the branch... So 1.0.0-RC1 if I'm on branch 'release/*' vs 1.0.0-SNAPSHOT on another branch. Is that doable?
Is there a way to do it by branch or automatically? I'm trying to automate the release process and having to type in RC1 on a command line makes that...
Not sure, I stopped using this plugin myself, so best of luck! On Tue, Jun 30, 2020 at 8:51 AM _Mr_Bin_ wrote: > Any updated? > > — > You...
I'm also not getting commits to work in Windows with this code: ```groovy pre 'fileUpdate', [files: ['src/main/java/project.production.properties', 'src/main/java/project.qa.properties', 'src/main/java/project.development.properties', 'src/test/java/project.test.properties'], pattern: {v, ctx -> /trackit_version=.*/}, replacement: {v, c -> "trackit_version=${v.replaceAll(/-SNAPSHOT$/,...
Using the same workaround mentioned by @jvtrigueros works for me for now: ``` pre { c -> c.addCommitPattern('src/main/java/project.production.properties') c.addCommitPattern('src/main/java/project.qa.properties') .... } ```