Groovy web console

subscribe to the feed Subscribe
to this

release check

Published 1 month ago by FH
Actions  ➤ Edit in console Back to console Show/hide line numbers View recent scripts
def version = "2.4.0-alpha.4"
def isUnreleasedMajorVersion = version ==~ /^\d+\.0\.0-alpha\.\d+$/
if (isUnreleasedMajorVersion) {
  println "⚠ This stable release would result in a new major version. New major versions need to be cut manually!"
} else {
  println "will cut a new stable release"