Skip to content

Commit

Permalink
chore: temporarily add version verification task until plugin update
Browse files Browse the repository at this point in the history
  • Loading branch information
stempler committed Mar 30, 2024
1 parent 6c15e4b commit 7d1754d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,15 @@ tasks.wrapper {
distributionType = Wrapper.DistributionType.ALL
gradleVersion = '8.6'
}

task('verifyReleaseVersion') {
//FIXME remove task once plugin could be updated

doLast {
def version = project.version

assert version
assert !version.endsWith('-SNAPSHOT')
// assert version =~ SEM_VER_REGEX
}
}

0 comments on commit 7d1754d

Please sign in to comment.