Skip to content

Commit

Permalink
(feat): release-notes (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassabreu authored Aug 18, 2021
1 parent 4776eaf commit d39ce0c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Extract Release Notes
run: |
sed "/^## \[${GITHUB_REF#refs/tags/v}/, /^## \[/!d" CHANGELOG.md | tail -n +2 | head -n -2 > release-notes.md
- name: Create Release
id: create_release
uses: actions/create-release@latest
Expand All @@ -20,5 +23,6 @@ jobs:
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body_path: release-notes.md
draft: false
prerelease: false
prerelease: false
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.1.5] - 2021-08-17
### Added
- support for a custom signature on the pull request comment.
- example on readme on how to use artifacts to compare coverage between base
Expand All @@ -15,6 +16,7 @@ branch and current commit.
### Changed
- when `base-file` is not found an non-blocking error will be created on the
workflow for user diagnosis, instead of just skipping it.
- release workflow now uses notes from `CHANLOG.md` on release summary.

## [0.1.4] - 2021-08-16
### Changed
Expand Down

0 comments on commit d39ce0c

Please sign in to comment.