Browse Source

Merge remote-tracking branch 'origin/5.8.x'

pull/12109/head
Josh Cummings 3 years ago
parent
commit
f2ddeaface
No known key found for this signature in database
GPG Key ID: A306A51F43B8E5A5
  1. 1
      .github/workflows/continuous-integration-workflow.yml
  2. 4
      docs/spring-security-docs.gradle

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

@ -271,7 +271,6 @@ jobs: @@ -271,7 +271,6 @@ jobs:
export GRADLE_ENTERPRISE_ACCESS_KEY="$GRADLE_ENTERPRISE_SECRET_ACCESS_KEY"
echo "Updating $REPO@$VERSION to next snapshot version."
./gradlew :updateToSnapshotVersion
./gradlew :spring-security-docs:antoraUpdateVersion
git commit -am "Next development version"
git push
perform_post_release:

4
docs/spring-security-docs.gradle

@ -38,7 +38,9 @@ tasks.register('generateAntora') { @@ -38,7 +38,9 @@ tasks.register('generateAntora') {
.join('\n')
def outputFile = layout.buildDirectory.file('generateAntora/antora.yml').get().asFile
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
layout.buildDirectory.file('.antora.yml').get().asFile.text = antoraYmlText
antoraYmlText = antoraYmlText.lines().collect { l ->

Loading…
Cancel
Save