We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7fa411b commit 76d5a20Copy full SHA for 76d5a20
release.config.js
@@ -15,7 +15,10 @@ module.exports = {
15
[
16
'@semantic-release/npm',
17
{
18
- // Do not set 'tarballDir' without considering this issue: https://github.com/semantic-release/npm/issues/535
+ // Do not set 'tarballDir' to a relative path without considering this issue:
19
+ // https://github.com/semantic-release/npm/issues/535
20
+ // If the tarball is within the package directory, it will be included in the second 'prepack' run.
21
+ tarballDir: '/tmp/semantic-release-${nextRelease.gitHead}/'
22
}
23
],
24
@@ -30,7 +33,7 @@ module.exports = {
30
33
31
34
'@semantic-release/github',
32
35
- assets: 'pack/*.tgz'
36
+ assets: '/tmp/semantic-release-${nextRelease.gitHead}/*.tgz'
37
38
]
39
0 commit comments