From d0cc6690178df0af02be7bfd1fa9aacd037c57be Mon Sep 17 00:00:00 2001 From: Paul Pacheco Date: Wed, 25 Dec 2019 15:07:57 -0600 Subject: [PATCH] fix: release unitypackage (#1355) fix: upload unity.package --- .releaserc.yml | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/.releaserc.yml b/.releaserc.yml index af59cb089..ede5b4b6d 100644 --- a/.releaserc.yml +++ b/.releaserc.yml @@ -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", - }], ] }