Skip to content

Commit

Permalink
increment the patch version when on branches prefixed with patch (#208)
Browse files Browse the repository at this point in the history
Co-authored-by: Rohan Desai <[email protected]>
  • Loading branch information
rodesai and rodesai committed Dec 23, 2023
1 parent 0d29d80 commit 4a28efe
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ allprojects {

versionIncrementer("incrementMinor")

branchVersionIncrementer.putAll( mapOf<String, String>(
"patch/.*" to "incrementPatch"
))

snapshotCreator({ _, _ -> "-SNAPSHOT" })
ignoreUncommittedChanges.set(false)
}
Expand Down

0 comments on commit 4a28efe

Please sign in to comment.