Browse Source

Apply release plugin

Closes gh-1426
1.0.x
Steve Riesenberg 2 years ago
parent
commit
c7afe536b2
No known key found for this signature in database
GPG Key ID: 5F311AB48A55D521
  1. 10
      build.gradle
  2. 37
      scripts/release/release-notes-sections.yml
  3. 5
      settings.gradle

10
build.gradle

@ -1,10 +1,20 @@
plugins { plugins {
id "io.spring.convention.root" id "io.spring.convention.root"
id "io.spring.security.release" version "1.0.0-SNAPSHOT"
} }
group = "org.springframework.security" group = "org.springframework.security"
description = "Spring Authorization Server" description = "Spring Authorization Server"
springRelease {
repositoryOwner = "spring-projects"
weekOfMonth = 2
dayOfWeek = 4
referenceDocUrl = "https://docs.spring.io/spring-authorization-server/docs/{version}/reference/html/"
apiDocUrl = "https://docs.spring.io/spring-authorization-server/docs/{version}/api/"
replaceSnapshotVersionInReferenceDocUrl = false
}
if (hasProperty("buildScan")) { if (hasProperty("buildScan")) {
buildScan { buildScan {
termsOfServiceUrl = "https://gradle.com/terms-of-service" termsOfServiceUrl = "https://gradle.com/terms-of-service"

37
scripts/release/release-notes-sections.yml

@ -1,14 +1,25 @@
releasenotes: changelog:
repository: spring-projects/spring-authorization-server
sections: sections:
- title: "New Features" - title: ":star: New Features"
emoji: ":star:" labels: ["type: enhancement"]
labels: ["enhancement"] sort: "title"
- title: "Bug Fixes" - title: ":beetle: Bug Fixes"
emoji: ":beetle:" labels: ["type: bug", "type: regression"]
labels: ["bug", "regression"] sort: "title"
- title: "Dependency Upgrades" - title: ":hammer: Dependency Upgrades"
emoji: ":hammer:" labels: ["type: dependency-upgrade"]
labels: ["dependency-upgrade"] sort: "title"
- title: "Non-passive" - title: ":rewind: Non-passive"
emoji: ":rewind:" labels: ["type: breaks-passivity"]
labels: ["breaks-passivity"] sort: "title"
issues:
exclude:
labels: [ "status: duplicate" ]
ports:
- label: "status: forward-port"
bodyExpression: 'Forward port of issue #(\d+).*'
contributors:
title: ":heart: Contributors"
exclude:
names: ["jgrandja", "sjohnr"]

5
settings.gradle

@ -1,8 +1,9 @@
pluginManagement { pluginManagement {
repositories { repositories {
gradlePluginPortal() gradlePluginPortal()
maven { url 'https://repo.spring.io/release' } maven { url "https://repo.spring.io/release" }
maven { url 'https://repo.spring.io/milestone' } maven { url "https://repo.spring.io/milestone" }
maven { url "https://repo.spring.io/snapshot" }
} }
} }

Loading…
Cancel
Save