Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Latest commit

 

History

History
76 lines (50 loc) · 3.2 KB

README.md

File metadata and controls

76 lines (50 loc) · 3.2 KB

📦 @scaleleap/semantic-release-config

Semantic Release shareable config to publish NPM packages with GitHub.


Plugins

This shareable configuration uses the following plugins:

Summary

  • 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").
  • Creates a tarball that gets uploaded with each GitHub release.
  • Publishes the same tarball to NPM.
  • Commits the version change in package.json.
  • Creates or updates a changelog file.

Running in CI

$> npx @scaleleap/semantic-release-config

Usage

The shareable config can be configured in the semantic-release configuration file:

In package.json:

{
  "release": {
    "extends": "@scaleleap/semantic-release-config"
  }
}

Configuration

Ensure that your CI configuration has the following secret environment variables set:

See each plugin documentation for required installation and configuration steps.

Contributing

This repository uses Conventional Commit style commit messages.

Authors or Acknowledgments

License

This project is licensed under the MIT License.

Badges

GitHub Workflow Status NPM License Semantic Release