Skip to content

Commit

Permalink
Use Changelog to generate GitHub release (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredpetersen authored Nov 11, 2020
1 parent 79c99e6 commit d15a276
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ jobs:
MAVEN_USERNAME: jaredpetersen
MAVEN_CENTRAL_TOKEN: ${{ secrets.MAVEN_CENTRAL_TOKEN }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Get Changelog
id: changelog_reader
uses: mindsers/changelog-reader-action@v2
with:
version: ${{ steps.deploy.outputs.version }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -41,6 +46,7 @@ jobs:
with:
tag_name: ${{ steps.deploy.outputs.version }}
release_name: ${{ steps.deploy.outputs.version }}
body: ${{ steps.changelog_reader.outputs.changes }}
draft: false
prerelease: false
- name: Upload Release Asset -- JAR
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

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

0 comments on commit d15a276

Please sign in to comment.