Skip to content

Commit

Permalink
chore: Reset Version to 0 on Version Increase
Browse files Browse the repository at this point in the history
  • Loading branch information
wba2hi authored and lukasmittag committed Oct 9, 2023
1 parent d7a946c commit 3baf907
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions buildSrc/src/main/kotlin/version.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ tasks.register("increaseMajorVersion") {
group = "version"
doLast {
properties.major += 1
properties.minor = 0
properties.patch = 0
properties.store()
}
}
Expand All @@ -18,6 +20,7 @@ tasks.register("increaseMinorVersion") {
group = "version"
doLast {
properties.minor += 1
properties.patch += 0
properties.store()
}
}
Expand Down

0 comments on commit 3baf907

Please sign in to comment.