ci: Update release
This commit is contained in:
@@ -44,15 +44,16 @@ module.exports = {
|
||||
[
|
||||
"@semantic-release/exec",
|
||||
{
|
||||
publishCmd: 'echo -e "${nextRelease.notes}\n\n$(cat CHANGELOG.md)" > CHANGELOG.md'
|
||||
publishCmd: 'echo "${nextRelease.notes}\n\n$(cat CHANGELOG.md)" > CHANGELOG.md; echo "${nextRelease.notes}" > "/tmp/${process.env.TMP_FILE_NAME}";',
|
||||
}
|
||||
],
|
||||
'@semantic-release/git',
|
||||
[
|
||||
"@semantic-release/exec",
|
||||
'@semantic-release/git',
|
||||
{
|
||||
"publishCmd": 'echo "${nextRelease.notes}" > /tmp/release-notes.md; goreleaser release --release-notes /tmp/release-notes.md --clean'
|
||||
assets: [
|
||||
'CHANGELOG.md'
|
||||
]
|
||||
}
|
||||
]
|
||||
],
|
||||
],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user