We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 144af07 commit 9357c2fCopy full SHA for 9357c2f
docs/spring-security-docs.gradle
@@ -56,7 +56,7 @@ tasks.register("generateAntoraComponentVersion") {
56
def outputFile = new File("$buildDir/generateAntora/antora.component.version")
57
outputFile.getParentFile().mkdirs()
58
outputFile.createNewFile()
59
- def antoraVersion = project.version.replaceAll(/^(\d+\.\d+)\.\d+(-\w+)$/, '$1$2')
+ def antoraVersion = project.version.replaceAll(/^(\d+\.\d+)\.\d+(-\w+)?$/, '$1')
60
outputFile.setText("$antoraVersion")
61
}
62
0 commit comments