Skip to content

Commit

Permalink
ci: update exec for semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
brewcoua committed Jun 8, 2024
1 parent 6b3b6de commit bd6e3e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,10 @@ jobs:
needs: build
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
contents: write # Publish GitHub Releases
issues: write # Comment on issues
pull-requests: write # Comment on PRs
id-token: write # OIDC token for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion release.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default {
[
'@semantic-release/exec',
{
prepareCmd: 'cp package.json README.md LICENSE* dist',
prepareCmd: 'mkdir -p dist && cp package.json README.md LICENSE* dist',
},
],
'@semantic-release/git',
Expand Down

0 comments on commit bd6e3e3

Please sign in to comment.