Skip to content

Commit

Permalink
fix: Added step to build tarball for release
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-pisman committed Oct 19, 2023
1 parent daf4666 commit ad508f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ jobs:
run: |
npm ci
npm run build
- name: Build a tarball
run: tar -czf unipoll-app.tar.gz dist/unipoll-app
- name: Cleanup dist folder
run: rm -rf dist/unipoll-app
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v4
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@semantic-release/github",
{
"assets": [
"dist/unipoll-app"
"dist/unipoll-app.tar.gz"
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
Expand Down

0 comments on commit ad508f5

Please sign in to comment.