initializr/ci/tasks/generate-changelog.yml
Brian Clozel ef5b587f90 Fix release pipeline for Maven Central publication
This commit fixes the missing pieces in our Maven Central publication
pipeline. Our first attempt at releasing with it showed a few problems:

* The promote task did not have the artifacts downloaded with the
  artifactory repository.
* We applied the wrong Sonatype credentials to the task.
* The github changelog task would fail because of docker rate limiting
  since we were not using the right type of resource, which is
  configured with the proper caching mechanism.

See gh-1199
2021-03-16 14:51:13 +01:00

21 lines
381 B
YAML

---
platform: linux
image_resource:
type: docker-image
source:
repository: springio/github-changelog-generator
tag: '0.0.6'
inputs:
- name: git-repo
- name: artifactory-repo
outputs:
- name: generated-changelog
params:
GITHUB_ORGANIZATION:
GITHUB_REPO:
GITHUB_USERNAME:
GITHUB_TOKEN:
RELEASE_TYPE:
run:
path: git-repo/ci/scripts/generate-changelog.sh