パッケージの詳細

@public-js/cc-github-releaser

public-js39MIT2.0.3

Create GitHub releases from git metadata

conventional-github-releaser, github, release, releases

readme

@public-js/cc-github-releaser

Build Version Downloads Size

CodeQL Codacy Codecov Code Climate

Create GitHub releases from git metadata


Installing

Add the package to your project by running:

npm i -D @public-js/cc-github-releaser

Create a new token or use an existing one. Make sure the token you're going to use has a public_repo scope (or repo for private repositories).

Assign you token to any of the following env variables: GITHUB_TOKEN, GH_TOKEN, CONVENTIONAL_GITHUB_RELEASER_TOKEN or pass it with any of these parameters: -t or --token.

Workflow setup

For you convenience, you might want to add the following to your root package.json file:

"scripts": {
  "github-release": "cc-github-releaser"
}

Execute it from you workflow like this:

run: npm run github-release

Recommended workflow

  • Commit your changes
  • Make sure you build/tests pass
  • Bump version with any tool e.g. standard-version or do it manually then commit the change
  • Create & push a version tag e.g. 1.2.3
  • Execute cc-github-releaser to create a release

If you want a more fancy release process, check out this workflow.

Package size

Although Package Phobia reports this package to be pretty heavy, keep in mind that:

  • This package should not be bundled with your distribution
  • You probably already have at least half of its dependencies' installed
  • This package allows a lot of flexibility in dependencies' versions

Resources

License

MIT, full license text. Read more about it on TLDRLegal.

更新履歴

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.0.3 (2023-10-27)

2.0.2 (2022-06-25)

2.0.1 (2022-04-03)

2.0.0 (2022-02-20)

Features

  • refactor to reduce dependencies (e7a664d)
  • refactor to reduce dependencies (4c1ae9e)

1.1.0 (2022-02-19)

Bug Fixes

1.0.0 (2022-02-19)

Features

  • add description and badges (f0d51ff)

0.0.1 (2022-02-19)

Features