Skip to content

Commit

Permalink
fix: add missing files to the npm tarball
Browse files Browse the repository at this point in the history
  • Loading branch information
chathurabuddi committed Sep 11, 2024
1 parent 4486295 commit 0457cd7
Showing 4 changed files with 98 additions and 209 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -30,4 +30,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: npm run release
15 changes: 13 additions & 2 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -5,7 +5,18 @@
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
"@semantic-release/github"
[
"@semantic-release/npm",
{
"npmPublish": false,
"tarballDir": "./publish"
}
],
[
"@semantic-release/github",
{
"assets": "./publish/*.tgz"
}
]
]
}
Loading

0 comments on commit 0457cd7

Please sign in to comment.