diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 531e926..b2aaeab 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,6 +25,10 @@ jobs: run: make install - name: Run check run: make build + - uses: release-drafter/release-drafter@v5 + id: release_notes + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create Release id: create_release uses: actions/create-release@v1 @@ -33,11 +37,9 @@ jobs: with: tag_name: v${{ steps.vars.outputs.version }} release_name: Release v${{ steps.vars.outputs.version }} + body: ${{ steps.release_notes.outputs.body }} draft: false prerelease: false - - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload Release Asset id: upload-release-asset uses: actions/upload-release-asset@v1 diff --git a/pyproject.toml b/pyproject.toml index faf7419..695871d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "pull-request-codecommit" -version = "0.3.2" +version = "0.4.0" description = "pull-request-codecommit creates a PR within CodeCommit based on your commit messages." authors = ["Joris Conijn "] license = "MIT"