From 88131aabe06313a2cb64eef25161a80158ca0ec0 Mon Sep 17 00:00:00 2001 From: Oliver-Akins Date: Mon, 7 Jul 2025 22:43:19 -0600 Subject: [PATCH] Update the release github action --- .github/workflows/draft-release.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/draft-release.yaml b/.github/workflows/draft-release.yaml index 7763240..aba5033 100644 --- a/.github/workflows/draft-release.yaml +++ b/.github/workflows/draft-release.yaml @@ -29,10 +29,6 @@ jobs: if: ${{ steps.check-tag.outputs.exists == 'true' }} run: exit 1 - - name: Ensure there are specific files to release - if: ${{ vars.files_to_release == '' }} - run: exit 1 - - name: Move system.json to a temp file id: manifest-move run: mv system.json module.temp.json @@ -42,7 +38,7 @@ jobs: run: cat module.temp.json | jq -r --tab '.download = "https://github.com/${{ github.repository }}/releases/download/v${{ steps.version.outputs.version }}/release.zip"' > system.json - name: Create the zip - run: zip -r release.zip ${{ vars.files_to_release }} + run: zip -r release.zip system.json module langs assets templates README.md - name: Create the draft release uses: ncipollo/release-action@v1 @@ -50,5 +46,6 @@ jobs: tag: "v${{ steps.version.outputs.version }}" commit: ${{ github.ref }} draft: true + body: generateReleaseNotes: true artifacts: "release.zip,system.json" \ No newline at end of file