1.0.0 • Published 4 years ago

upm-release v1.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

upm-release

A cli tool to publish the Unity package with semantic-release.

npm npm (beta) GitHub Actions 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

VariableDescription
GH_TOKENA GitHub personal access token.
GL_TOKENA GitLab personal access token.
BB_TOKENA Bitbucket personal access token.
NPM_TOKENA npm token.

NOTE: NPM_TOKEN supports only the auth-only level of npm two-factor authentication.