Skip to content

Commit

Permalink
feat: creating release tar.gz package
Browse files Browse the repository at this point in the history
  • Loading branch information
HamzaKhait committed Mar 14, 2024
1 parent 1dbd78f commit 95af0b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ jobs:
node-version: 20
- run: npm ci --force
- run: npm run build
- run: tar -czvf wce-portail.tar.gz -C dist .
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
["@semantic-release/git", {
"assets": ["dist/*.js", "dist/*.js.map"],
"assets": ["wce-portail.tar.gz"],
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}],
'@semantic-release/github'
Expand Down

0 comments on commit 95af0b0

Please sign in to comment.