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 @@ @@ -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"

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

@ -1,14 +1,25 @@ @@ -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"]

5
settings.gradle

@ -1,8 +1,9 @@ @@ -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" }
}
}

Loading…
Cancel
Save