|
|
|
@ -39,6 +39,20 @@ resources:
|
|
|
|
|
repo: ((github-repo-name))
|
|
|
|
|
base: ((branch))
|
|
|
|
|
ignore_paths: ["ci/*"]
|
|
|
|
|
- name: github-pre-release
|
|
|
|
|
type: github-release
|
|
|
|
|
source:
|
|
|
|
|
owner: spring-projects
|
|
|
|
|
repository: spring-boot
|
|
|
|
|
access_token: ((github-release-notes-access-token))
|
|
|
|
|
pre_release: true
|
|
|
|
|
- name: github-release
|
|
|
|
|
type: github-release
|
|
|
|
|
source:
|
|
|
|
|
owner: spring-projects
|
|
|
|
|
repository: spring-boot
|
|
|
|
|
access_token: ((github-release-notes-access-token))
|
|
|
|
|
pre_release: false
|
|
|
|
|
- name: ci-images-git-repo
|
|
|
|
|
type: git
|
|
|
|
|
source:
|
|
|
|
@ -380,15 +394,20 @@ jobs:
|
|
|
|
|
ARTIFACTORY_SERVER: ((artifactory-server))
|
|
|
|
|
ARTIFACTORY_USERNAME: ((artifactory-username))
|
|
|
|
|
ARTIFACTORY_PASSWORD: ((artifactory-password))
|
|
|
|
|
- task: publish-release-notes
|
|
|
|
|
- task: generate-release-notes
|
|
|
|
|
image: spring-boot-ci-image
|
|
|
|
|
file: git-repo/ci/tasks/publish-release-notes.yml
|
|
|
|
|
file: git-repo/ci/tasks/generate-release-notes.yml
|
|
|
|
|
params:
|
|
|
|
|
RELEASE_TYPE: M
|
|
|
|
|
GITHUB_ORGANIZATION: spring-projects
|
|
|
|
|
GITHUB_REPO: spring-boot
|
|
|
|
|
GITHUB_USERNAME: ((github-username))
|
|
|
|
|
GITHUB_PASSWORD: ((github-release-notes-access-token))
|
|
|
|
|
- put: github-pre-release
|
|
|
|
|
params:
|
|
|
|
|
name: generated-release-notes/version
|
|
|
|
|
tag: generated-release-notes/version
|
|
|
|
|
body: generated-release-notes/body
|
|
|
|
|
- name: promote-rc
|
|
|
|
|
serial: true
|
|
|
|
|
plan:
|
|
|
|
@ -409,15 +428,20 @@ jobs:
|
|
|
|
|
ARTIFACTORY_SERVER: ((artifactory-server))
|
|
|
|
|
ARTIFACTORY_USERNAME: ((artifactory-username))
|
|
|
|
|
ARTIFACTORY_PASSWORD: ((artifactory-password))
|
|
|
|
|
- task: publish-release-notes
|
|
|
|
|
- task: generate-release-notes
|
|
|
|
|
image: spring-boot-ci-image
|
|
|
|
|
file: git-repo/ci/tasks/publish-release-notes.yml
|
|
|
|
|
file: git-repo/ci/tasks/generate-release-notes.yml
|
|
|
|
|
params:
|
|
|
|
|
RELEASE_TYPE: RC
|
|
|
|
|
GITHUB_ORGANIZATION: spring-projects
|
|
|
|
|
GITHUB_REPO: spring-boot
|
|
|
|
|
GITHUB_USERNAME: ((github-username))
|
|
|
|
|
GITHUB_PASSWORD: ((github-release-notes-access-token))
|
|
|
|
|
- put: github-pre-release
|
|
|
|
|
params:
|
|
|
|
|
name: generated-release-notes/version
|
|
|
|
|
tag: generated-release-notes/version
|
|
|
|
|
body: generated-release-notes/body
|
|
|
|
|
- name: promote-release
|
|
|
|
|
serial: true
|
|
|
|
|
plan:
|
|
|
|
@ -440,15 +464,20 @@ jobs:
|
|
|
|
|
ARTIFACTORY_PASSWORD: ((artifactory-password))
|
|
|
|
|
BINTRAY_SUBJECT: ((bintray-subject))
|
|
|
|
|
BINTRAY_REPO: ((bintray-repo))
|
|
|
|
|
- task: publish-release-notes
|
|
|
|
|
- task: generate-release-notes
|
|
|
|
|
image: spring-boot-ci-image
|
|
|
|
|
file: git-repo/ci/tasks/publish-release-notes.yml
|
|
|
|
|
file: git-repo/ci/tasks/generate-release-notes.yml
|
|
|
|
|
params:
|
|
|
|
|
RELEASE_TYPE: RELEASE
|
|
|
|
|
GITHUB_ORGANIZATION: spring-projects
|
|
|
|
|
GITHUB_REPO: spring-boot
|
|
|
|
|
GITHUB_USERNAME: ((github-username))
|
|
|
|
|
GITHUB_PASSWORD: ((github-release-notes-access-token))
|
|
|
|
|
- put: github-release
|
|
|
|
|
params:
|
|
|
|
|
name: generated-release-notes/version
|
|
|
|
|
tag: generated-release-notes/version
|
|
|
|
|
body: generated-release-notes/body
|
|
|
|
|
- name: sync-to-maven-central
|
|
|
|
|
serial: true
|
|
|
|
|
plan:
|
|
|
|
|