Skip to content

Commit d15a276

Browse files
Use Changelog to generate GitHub release (#7)
1 parent 79c99e6 commit d15a276

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
MAVEN_USERNAME: jaredpetersen
3434
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
3535
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
36+
- name: Get Changelog
37+
id: changelog_reader
38+
uses: mindsers/changelog-reader-action@v2
39+
with:
40+
version: ${{ steps.deploy.outputs.version }}
3641
- name: Create Release
3742
id: create_release
3843
uses: actions/create-release@v1
@@ -41,6 +46,7 @@ jobs:
4146
with:
4247
tag_name: ${{ steps.deploy.outputs.version }}
4348
release_name: ${{ steps.deploy.outputs.version }}
49+
body: ${{ steps.changelog_reader.outputs.changes }}
4450
draft: false
4551
prerelease: false
4652
- name: Upload Release Asset -- JAR

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [1.0.0] - 2020-11-08
7+
## [1.0.0] - 2020-11-10
88
### Added
99
- Initial release with source and sink connector

0 commit comments

Comments
 (0)