1.1.0 • Published 1 year ago
@iam1337/create-unitypackage v1.1.0
@iam1337/create-unitypackage
semantic-release plugin to create a unitypackage. Based on unitypackage npm package.
Step | Description |
---|---|
verifyConditions | Verify the packageRoot , projectRoot and output options configuration. |
prepare | Сreation unitypackage file. |
Install
$ npm i @iam1337/create-unitypackage
Usage
The plugin can be configured in the semantic-release configuration file:
{
"plugins": [
["@iam1337/create-unitypackage", {
"packageRoot": "Assets/Package",
"projectRoot": "./",
"output": "Package.unitypackage"
}],
["@semantic-release/github", {
"assets": [
{"path": "Package.unitypackage", "label": "Package v${nextRelease.version}"}
]
}]
]
}
Configuration
Options
Options | Description | Default |
---|---|---|
packageRoot | Path to the directory you want to archive to unitypackage inside the Assets directory. | - |
projectRoot | Unity project directory. | ./ |
output | Output unitypackage path. Must end with .unitypackage. | - |
Note: The packageRoot
directory must have own .meta file.