diff --git a/build.gradle b/build.gradle index 35ff5b0e..3ee485f9 100644 --- a/build.gradle +++ b/build.gradle @@ -1,10 +1,20 @@ plugins { id "io.spring.convention.root" + id "io.spring.security.release" version "1.0.0-SNAPSHOT" } group = "org.springframework.security" 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")) { buildScan { termsOfServiceUrl = "https://gradle.com/terms-of-service" diff --git a/scripts/release/release-notes-sections.yml b/scripts/release/release-notes-sections.yml index 574c8cfb..0524dc76 100644 --- a/scripts/release/release-notes-sections.yml +++ b/scripts/release/release-notes-sections.yml @@ -1,14 +1,25 @@ -releasenotes: +changelog: + repository: spring-projects/spring-authorization-server sections: - - title: "New Features" - emoji: ":star:" - labels: ["enhancement"] - - title: "Bug Fixes" - emoji: ":beetle:" - labels: ["bug", "regression"] - - title: "Dependency Upgrades" - emoji: ":hammer:" - labels: ["dependency-upgrade"] - - title: "Non-passive" - emoji: ":rewind:" - labels: ["breaks-passivity"] + - title: ":star: New Features" + labels: ["type: enhancement"] + sort: "title" + - title: ":beetle: Bug Fixes" + labels: ["type: bug", "type: regression"] + sort: "title" + - title: ":hammer: Dependency Upgrades" + labels: ["type: dependency-upgrade"] + sort: "title" + - title: ":rewind: Non-passive" + labels: ["type: 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"] diff --git a/settings.gradle b/settings.gradle index 30725474..f8f2a950 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,8 +1,9 @@ pluginManagement { repositories { gradlePluginPortal() - maven { url 'https://repo.spring.io/release' } - maven { url 'https://repo.spring.io/milestone' } + maven { url "https://repo.spring.io/release" } + maven { url "https://repo.spring.io/milestone" } + maven { url "https://repo.spring.io/snapshot" } } }