Skip to content

Commit

Permalink
Show partial release notes for PreReleases
Browse files Browse the repository at this point in the history
when creating a tag with 'rc' in its name, this should build a changelog that 
shows a partial changelog since the last prerelease, and the full one when fully
released. That makes it easier to follow changes between prereleases.
  • Loading branch information
ccremer committed Jan 12, 2021
1 parent 750e94f commit 9df3997
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,10 @@ jobs:
uses: mikepenz/release-changelog-builder-action@v1.4.1
with:
configuration: ".github/changelog-configuration.json"
# Prereleases still get a changelog, but the next full release gets a diff since the last full release,
# combining possible changelogs of all previous prereleases inbetween.
ignorePreReleases: "true"
# PreReleases still get a changelog, but the next full release gets a diff since the last full release,
# combining possible changelogs of all previous PreReleases in between. PreReleases show a partial changelog
# since last PreRelease.
ignorePreReleases: "${{ !contains(github.ref, '-rc') }}"
outputFile: .github/release-notes.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 9df3997

Please sign in to comment.