upm-release
v1.0.0
Published
A cli tool to publish Unity packages
Downloads
5
Maintainers
Readme
upm-release
A cli tool to publish the Unity package with semantic-release.
Features
- Provides an informative git commit message for the release commit that does not trigger continuous integration and conforms to the conventional commits specification (e.g., "chore(release): 1.2.3 [skip ci]\n\nnotes").
- Commits the version change in
package.json
. - Creates or updates a changelog file based on commit messages.
- Publishes the package contents to another branch.
- (Option) Publishes the created tarball to any npm registry.
Install
$ npm install -g upm-release
Usage
$ cd path/to/package/root
$ upm-release
Or
$ upm-release --pkg-root path/to/package/root
For details:
Usage: upm-release [--pkg-root=<path>] [--npm-publish] [--dry-run] [--debug]
Options:
--help, -h Show help [boolean]
--version, -v Show version [boolean]
--pkg-root The root path of the unity package. [string]
--npm-publish Publish to npm registory. [boolean]
--dry-run Skip publishing [boolean]
--debug Output debugging information [boolean]
Environment Variables
| Variable | Description |
| ----------- | ---------------------------------------------------------------------------------------------------------------------------- |
| GH_TOKEN
| A GitHub personal access token. |
| GL_TOKEN
| A GitLab personal access token. |
| BB_TOKEN
| A Bitbucket personal access token. |
| NPM_TOKEN
| A npm token. |
NOTE: NPM_TOKEN
supports only the auth-only
level of npm two-factor authentication.