Skip to content

Commit

Permalink
fix: Added label to asset
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-pisman committed Oct 19, 2023
1 parent 8ca7eb1 commit 253254f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ jobs:
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
run: tar -czf dist/unipoll-app.tar.gz dist/unipoll-app
- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v4
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@
"@semantic-release/github",
{
"assets": [
"dist/unipoll-app.tar.gz"
{
"path": "dist",
"label": "unipoll-app-${nextRelease.gitTag}"
}
],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
Expand Down

0 comments on commit 253254f

Please sign in to comment.