Skip to content

Commit

Permalink
Merge pull request #167 from dev-sec/changelog_before
Browse files Browse the repository at this point in the history
CHANGELOG for RELEASE done before the push to avoid breaking
  • Loading branch information
micheelengronne authored May 19, 2020
2 parents 1a3a1fa + 412e04f commit ef157c4
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
future_release: ${{ steps.version.outputs.next-version }}

- name: Generate changelog for the release
uses: charmixer/auto-changelog-action@8095796
with:
token: ${{ secrets.GITHUB_TOKEN }}
since_tag: ${{ steps.previoustag.outputs.tag }}
future_release: ${{ steps.version.outputs.next-version }}
output: CHANGELOGRELEASE.md

- name: update inspec.yml
uses: mikefarah/[email protected]
with:
Expand All @@ -46,18 +54,11 @@ jobs:
name: dev-sec CI
email: [email protected]

- name: Generate changelog for the release
uses: charmixer/auto-changelog-action@8095796
with:
token: ${{ secrets.GITHUB_TOKEN }}
since_tag: ${{ steps.previoustag.outputs.tag }}
future_release: ${{ steps.version.outputs.next-version }}

- name: Read CHANGELOG.md
id: package
uses: juliangruber/read-file-action@v1
with:
path: ./CHANGELOG.md
path: ./CHANGELOGRELEASE.md

- name: Create Release draft
id: create_release
Expand Down

0 comments on commit ef157c4

Please sign in to comment.