diff --git a/.github/workflows/autotag.yaml b/.github/workflows/autotag.yaml index 7642b61..568cfc3 100644 --- a/.github/workflows/autotag.yaml +++ b/.github/workflows/autotag.yaml @@ -8,10 +8,16 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - with: - # Fetches entire history, so we can analyze commits since last tag - fetch-depth: 0 - name: Bump version and push tag - uses: mathieudutour/github-tag-action@v4.5 + id: tag_version + uses: mathieudutour/github-tag-action@v5.2 with: github_token: ${{ secrets.PAT }} + - name: Create a GitHub release + uses: actions/create-release@v1 + env: + GITHUB_TOKEN: ${{ secrets.PAT }} + with: + tag_name: ${{ steps.tag_version.outputs.new_tag }} + release_name: Release ${{ steps.tag_version.outputs.new_tag }} + body: ${{ steps.tag_version.outputs.changelog }}