fix: version file (#1337)

* fix: set version in release

* fix syntax error

* Rebuild

* Rebuild again
This commit is contained in:
Paul Pacheco 2019-12-21 13:17:16 -06:00 committed by GitHub
parent e4f89cf12f
commit ed7e509ed6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,25 +1,23 @@
{
"verifyConditions": ["@semantic-release/github"],
"publish": ["@semantic-release/github"],
"prepare": [
{
"path": "@semantic-release/exec",
"cmd": "echo ${nextRelease.version} > Assets/Mirror/version.txt"
}
],
"prepare": ["@semantic-release/exec"],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
"releaseRules": [
{"type": "breaking", "release": "major"},
{"type": "feature", "release": "minor"},
]
}],
'@semantic-release/release-notes-generator',
["@semantic-release/github", {
"assets": [
{"path": "Mirror.unitypackage", "label": "Mirror.unitypackage"}
]
}],
["@semantic-release/commit-analyzer", {
"preset": "angular",
"releaseRules": [
{"type": "breaking", "release": "major"},
{"type": "feature", "release": "minor"},
]
}],
'@semantic-release/release-notes-generator',
["@semantic-release/github", {
"assets": [
{"path": "Mirror.unitypackage", "label": "Mirror.unitypackage"}
]
}],
["@semantic-release/exec", {
"prepareCmd": "echo ${nextRelease.version} > Assets/Mirror/version.txt",
}],
]
}