Skip to content

Commit

Permalink
Missing target for bumping snapshot version
Browse files Browse the repository at this point in the history
  • Loading branch information
sbglasius committed Oct 16, 2024
1 parent ba3db43 commit 6e55c89
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -148,4 +148,14 @@ nexusPublishing {
stagingProfileId = ossStagingProfileId
}
}
}

tasks.register('snapshotVersion') {
doLast {
if (isReleaseVersion) {
ant.propertyfile(file: "gradle.properties") {
entry(key: "version", value: "${project.version}-SNAPSHOT")
}
}
}
}

0 comments on commit 6e55c89

Please sign in to comment.