add job to update addon version (#822)
authorJozef Kruszynski <60214390+jozefKruszynski@users.noreply.github.com>
Sat, 5 Aug 2023 21:41:39 +0000 (23:41 +0200)
committerGitHub <noreply@github.com>
Sat, 5 Aug 2023 21:41:39 +0000 (23:41 +0200)
* add job to update addon version

* fix lint

---------

Co-authored-by: jkruszynski <jozef@krush.at>
.github/workflows/release.yml

index 970240e10331e0576ab2761e2f3c30dfc6332a44..17d79818af370eb55d64e6633b9514b61ff4a334 100644 (file)
@@ -100,3 +100,13 @@ jobs:
           labels: ${{ steps.meta.outputs.labels }}
           build-args: |
             "MASS_VERSION=${{ needs.build-and-publish-pypi.outputs.version }}"
+
+  addon-version-update:
+    name: Server repo PR
+    needs: build-and-publish-pypi
+    runs-on: ubuntu-latest
+    steps:
+      - uses: music-assistant/addon-update-action@main
+        with:
+          github_token: ${{ secrets.GITHUB_TOKEN }}
+          new_release_version: ${{ needs.build-and-publish-pypi.outputs.version }}