Skip to content

Commit b5d0c7c

Browse files
committed
πŸ› include dist folder in release
1 parent fc897b5 commit b5d0c7c

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

β€Ž.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,12 @@ jobs:
1111
with:
1212
token: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}
1313

14+
- name: Build client
15+
run: |
16+
npm run build
17+
cd dist
18+
zip -r ../client.zip .
19+
1420
- name: semantic-release
1521
env:
1622
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_TOKEN }}

β€Ž.releaserc.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111
"message": "πŸ”– release ${nextRelease.version}"
1212
}
1313
],
14-
"@semantic-release/github",
14+
[
15+
"@semantic-release/github",
16+
{
17+
"assets": [{ "path": "client.zip", "label": "Client" }]
18+
}
19+
],
1520
"semantic-release-gitmoji"
1621
],
1722
"successComment": false

0 commit comments

Comments
Β (0)