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", - }], ] }