From e6d0b69da0a600fe8c345684793073490ffb55d1 Mon Sep 17 00:00:00 2001 From: Jozef Kruszynski <60214390+jozefKruszynski@users.noreply.github.com> Date: Fri, 27 Oct 2023 23:19:11 +0200 Subject: [PATCH] update release action (#898) * update release action * lint --------- Co-authored-by: Jozef Kruszynski Co-authored-by: Marcel van der Veldt --- .github/workflows/release.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8f72a0ab..fca8810f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,9 +101,20 @@ jobs: build-args: | "MASS_VERSION=${{ needs.build-and-publish-pypi.outputs.version }}" + release-notes-update: + name: Updates the release notes and changelog + needs: [ build-and-publish-pypi, build-and-push-container-image ] + runs-on: ubuntu-latest + steps: + - name: Update changelog and release notes including frontend notes + uses: music-assistant/release-notes-merge-action@main + with: + github_token: ${{ secrets.PRIVILEGED_GITHUB_TOKEN }} + release_tag: ${{ needs.build-and-publish-pypi.outputs.version }} + addon-version-update: name: Updates the Addon repository with the new version - needs: [ build-and-publish-pypi, build-and-push-container-image ] + needs: [ build-and-publish-pypi, build-and-push-container-image, release-notes-update ] runs-on: ubuntu-latest steps: - name: Push new version number to addon config -- 2.34.1