Skip to content

Commit cfb7c87

Browse files
committed
Merge remote-tracking branch 'origin/5.7.x' into 5.8.x
2 parents 7994222 + d5354db commit cfb7c87

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/continuous-integration-workflow.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,6 @@ jobs:
271271
export GRADLE_ENTERPRISE_ACCESS_KEY="$GRADLE_ENTERPRISE_SECRET_ACCESS_KEY"
272272
echo "Updating $REPO@$VERSION to next snapshot version."
273273
./gradlew :updateToSnapshotVersion
274-
./gradlew :spring-security-docs:antoraUpdateVersion
275274
git commit -am "Next development version"
276275
git push
277276
perform_post_release:

docs/spring-security-docs.gradle

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,9 @@ tasks.register('generateAntora') {
3838
.join('\n')
3939
def outputFile = layout.buildDirectory.file('generateAntora/antora.yml').get().asFile
4040
mkdir(outputFile.getParentFile())
41-
def (mainVersion, prerelease) = project.version.split(/(?=-)/, 2)
41+
def components = project.version.split(/(?=-)/)
42+
def mainVersion = components[0];
43+
def prerelease = components.length > 1 ? components[1] : null
4244
def antoraYmlText = file('antora.yml').text
4345
layout.buildDirectory.file('.antora.yml').get().asFile.text = antoraYmlText
4446
antoraYmlText = antoraYmlText.lines().collect { l ->

0 commit comments

Comments
 (0)