fix: release unitypackage (#1355)

fix: upload unity.package
This commit is contained in:
Paul Pacheco 2019-12-25 15:07:57 -06:00 committed by GitHub
parent ffdfa4ef47
commit d0cc669017
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,19 @@
{
"verifyConditions": ["@semantic-release/github"],
"publish": ["@semantic-release/github"],
"prepare": ["@semantic-release/exec"],
verifyConditions: ["@semantic-release/github"],
prepare: [
{
"path": "@semantic-release/exec",
"prepareCmd": "echo ${nextRelease.version} > Assets/Mirror/version.txt"
}
],
publish: [
{
"path": "@semantic-release/github",
"assets": [
{"path": "Mirror.unitypackage", "label": "Mirror.unitypackage"}
]
}
],
"plugins": [
["@semantic-release/commit-analyzer", {
"preset": "angular",
@ -11,13 +23,5 @@
]
}],
'@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",
}],
]
}