Commit 32f06146 authored by Kroese's avatar Kroese Committed by GitHub
Browse files

build: Changelog

parent 168ac081
Loading
Loading
Loading
Loading
+0 −23
Original line number Diff line number Diff line
@@ -86,25 +86,6 @@ jobs:
        name: Clear Docker credentials
        run: |
          rm -f ${HOME}/.docker/config.json
      -
        name: Get previous tag
        id: previousTag
        run: |
          name=$(git --no-pager tag --sort=creatordate --merged ${{ github.ref_name }} | tail -1)
          echo "previousTag: $name"
          echo "previousTag=$name" >> $GITHUB_ENV
      -
        name: Generate changelog
        id: changelog
        uses: requarks/changelog-action@v1
        with:
          token: ${{ github.token }}
          fromTag: ${{ github.ref_name }}
          toTag: ${{ env.previousTag }}
          writeToFile: false
          reverseOrder: true
          includeInvalidCommits: true
          excludeTypes: "docs,build,chore"
      -
        name: Create a release
        uses: action-pack/github-release@v2
@@ -113,10 +94,6 @@ jobs:
        with:
          tag: "v${{ steps.prepare.outputs.version }}"
          title: "v${{ steps.prepare.outputs.version }}"
          body: |
            ${{ steps.changelog.outputs.changes }}

            **Full Changelog**: https://github.com/${{ github.repository }}/compare//${{ env.previousTag }}...v${{ steps.prepare.outputs.version }}
      -
        name: Increment version variable
        uses: action-pack/bump@v2