mirror of
https://github.com/scratchfoundation/scratch-semantic-release-config.git
synced 2025-06-07 18:53:48 -04:00
fix: try to store npm tarball in /tmp dir named with git hash
This commit is contained in:
parent
7fa411b3ba
commit
76d5a20805
1 changed files with 5 additions and 2 deletions
|
@ -15,7 +15,10 @@ module.exports = {
|
||||||
[
|
[
|
||||||
'@semantic-release/npm',
|
'@semantic-release/npm',
|
||||||
{
|
{
|
||||||
// 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:
|
||||||
|
// https://github.com/semantic-release/npm/issues/535
|
||||||
|
// If the tarball is within the package directory, it will be included in the second 'prepack' run.
|
||||||
|
tarballDir: '/tmp/semantic-release-${nextRelease.gitHead}/'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
@ -30,7 +33,7 @@ module.exports = {
|
||||||
[
|
[
|
||||||
'@semantic-release/github',
|
'@semantic-release/github',
|
||||||
{
|
{
|
||||||
assets: 'pack/*.tgz'
|
assets: '/tmp/semantic-release-${nextRelease.gitHead}/*.tgz'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue