diff --git a/release.config.js b/release.config.js index f103e7e..7894078 100644 --- a/release.config.js +++ b/release.config.js @@ -23,6 +23,16 @@ module.exports = { ["@semantic-release/git", { "assets": [`Assets/${process.env.PROJECT_NAME}/package.json`, "CHANGELOG.md"], "message": "chore(release): new release ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}" + }], + ["@iam1337/create-unitypackage", { + "packageRoot": `Assets/${process.env.PROJECT_NAME}`, + "projectRoot": "./", + "output": `${process.env.PROJECT_NAME}.unitypackage` + }], + ["@semantic-release/github", { + "assets": [ + {"path": `${process.env.PROJECT_NAME}.unitypackage`, "label": `${process.env.PROJECT_NAME} v\${nextRelease.version}`} + ] }] ], "preset": "angular"