Skip to content

Commit

Permalink
fix(release): add double exec to commit bumped version
Browse files Browse the repository at this point in the history
  • Loading branch information
brewcoua committed Jun 9, 2024
1 parent ee70e73 commit 0cb3dcb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
- name: Set up Bun
uses: oven-sh/setup-bun@v1
- name: Set up Node.js
uses: actions/setup-node@v2
uses: actions/setup-node@v4
with:
node-version: 'lts/iron'

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@brewcoua/web-som",
"version": "1.1.0",
"version": "1.1.1",
"author": {
"name": "Brewen Couaran",
"email": "contact@brewen.dev",
Expand Down
5 changes: 3 additions & 2 deletions release.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ export default {
},
],
[
'@semantic-release/git',
'@semantic-release/exec',
{
prepareCmd: 'cp dist/package.json package.json',
},
],
'@semantic-release/git',
[
'@semantic-release/github',
{
assets: 'dist/*.js',
assets: ['dist/*.js', 'dist/*.js.map'],
},
],
],
Expand Down

0 comments on commit 0cb3dcb

Please sign in to comment.