feat: write version.txt
This commit is contained in:
parent
09f746c4c1
commit
3827ebc131
1 changed files with 3 additions and 2 deletions
|
@ -27,7 +27,8 @@ module.exports = {
|
||||||
{
|
{
|
||||||
"message": "chore(release): ${nextRelease.version}",
|
"message": "chore(release): ${nextRelease.version}",
|
||||||
"assets": [
|
"assets": [
|
||||||
"CHANGELOG.md"
|
"CHANGELOG.md",
|
||||||
|
"version.txt"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -39,7 +40,7 @@ module.exports = {
|
||||||
[
|
[
|
||||||
"@semantic-release/exec",
|
"@semantic-release/exec",
|
||||||
{
|
{
|
||||||
"prepareCmd": "echo ${nextRelease.version} > VERSION.txt"
|
"prepareCmd": "echo ${nextRelease.version} > version.txt"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
Loading…
Add table
Reference in a new issue