1.1.0 • Published 1 year ago

@iam1337/create-unitypackage v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@iam1337/create-unitypackage

semantic-release plugin to create a unitypackage. Based on unitypackage npm package.

⚙ Release npm latest version npm.io semantic-release: angular

StepDescription
verifyConditionsVerify 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

OptionsDescriptionDefault
packageRootPath to the directory you want to archive to unitypackage inside the Assets directory.-
projectRootUnity project directory../
outputOutput unitypackage path. Must end with .unitypackage.-

Note: The packageRoot directory must have own .meta file.