mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-05-31 01:02:14 +00:00
Merge remote-tracking branch 'origin/5.6.x' into 5.7.x
This commit is contained in:
commit
6b25307339
@ -38,7 +38,9 @@ tasks.register('generateAntora') {
|
|||||||
.join('\n')
|
.join('\n')
|
||||||
def outputFile = layout.buildDirectory.file('generateAntora/antora.yml').get().asFile
|
def outputFile = layout.buildDirectory.file('generateAntora/antora.yml').get().asFile
|
||||||
mkdir(outputFile.getParentFile())
|
mkdir(outputFile.getParentFile())
|
||||||
def (mainVersion, prerelease) = project.version.split(/(?=-)/, 2)
|
def components = project.version.split(/(?=-)/)
|
||||||
|
def mainVersion = components[0];
|
||||||
|
def prerelease = components.length > 1 ? components[1] : null
|
||||||
def antoraYmlText = file('antora.yml').text
|
def antoraYmlText = file('antora.yml').text
|
||||||
layout.buildDirectory.file('.antora.yml').get().asFile.text = antoraYmlText
|
layout.buildDirectory.file('.antora.yml').get().asFile.text = antoraYmlText
|
||||||
antoraYmlText = antoraYmlText.lines().collect { l ->
|
antoraYmlText = antoraYmlText.lines().collect { l ->
|
||||||
|
Loading…
x
Reference in New Issue
Block a user