Skip to content

Commit 90fcb2c

Browse files
committed
fix: better release artifacts
1 parent 3b83527 commit 90fcb2c

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.releaserc.json

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,19 @@
2727
"presetConfig": {}
2828
}
2929
],
30-
"@semantic-release/npm",
30+
[
31+
"@semantic-release/npm",
32+
{
33+
"tarballDir": "build"
34+
}
35+
],
3136
[
3237
"@semantic-release/github",
3338
{
3439
"assets": [
3540
{
36-
"path": ["dist/**"],
37-
"name": "adr-tools-${nextRelease.gitTag}.zip",
41+
"path": "build/*.tgz",
42+
"name": "adr-tools-${nextRelease.gitTag}.tgz",
3843
"label": "ADR-Tools ${nextRelease.gitTag}"
3944
}
4045
]

0 commit comments

Comments
 (0)