From a8674aa277ca2389764770bf425bace6d3b581c3 Mon Sep 17 00:00:00 2001 From: Armin Broubakarian Date: Sun, 17 Nov 2024 11:19:46 -0600 Subject: [PATCH] fix: use semantic-release/github to include the distribution files on build/publish --- .github/workflows/repo-pruner.yml | 2 +- README.md | 2 +- package.json | 12 +++++++++++- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/repo-pruner.yml b/.github/workflows/repo-pruner.yml index b0871ee..5c27802 100644 --- a/.github/workflows/repo-pruner.yml +++ b/.github/workflows/repo-pruner.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Run Repo Pruner - uses: arminbro/repo-pruner@v2.1.8 + uses: arminbro/repo-pruner@v2.1.10 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/README.md b/README.md index 7c8ac49..ee21cf0 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Run Repo Pruner - uses: arminbro/repo-pruner@v2.1.8 + uses: arminbro/repo-pruner@v2.1.10 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/package.json b/package.json index 1e0b3ab..add96ca 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,17 @@ "message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" } ], - "@semantic-release/github" + [ + "@semantic-release/github", + { + "assets": [ + { + "path": "dist/**/*", + "label": "Distribution Files" + } + ] + } + ] ] } }