@skypilot/quick-release v3.2.1
@skypilot/quick-release
Automatic generator of version numbers for releases & prereleases
What does it do
Quick Release analyzes a project's version number, commit history, and version tags to determine the version to use for the next release.
How to install
$ yarn add --dev @skypilot/quick-release
# or
$ npm add --save-dev @skypilot/quick-releaseHow to use
Quick Release exposes four commands:
bump-version: Computes the next version number for your project and writes it topackage.jsonget-current-version: Displays your project's current version number frompackage.jsonget-next-version: Computes the next version number for your project and displays it to standard outputspqr-option: Returns the value mapped to a key in the.skypilot/quick-release.ymloptions file. If no value is set there, it defaults to the value in the defaults file.
See the files in .github/workflows in this repo for examples of how to use Quick Release in a
GitHub Actions workflow (Quick Release is used for its own releases).
Default prefixes
- Major change (X.x.x):
CHG, DROP, MAJOR(with optional trailing exclamation point) - Minor change (x.X.x):
add, feat, minor - Patch change (x.x.X):
- Fixes:
bug, fix, patch - Refactoring:
chore, refactor, task - Internal features:
util - Other: no prefix
- Fixes:
- No change (patch change if released):
- Documentation & code style:
docs, style
- Documentation & code style:
These values will soon be customizable.
How to customize
Quick Release checks for a configuration file at .skypilot/quick-release.yml in your project's
root directory; the settings in that file can be used to customize Quick Release's behaviour.
See the defaults file for available settings.
Advanced API
The library also exposes the following functions:
getCoreVersion(): stringgetCurrentVersion(): stringparseMessageChangeLevel(message: string): ChangeLevelparseMessagesChangeLevel(messages: string[]): ChangeLevel
Coming soon
These features are slated for development in the near future:
- Changelog generation
- Automated creation of GitHub Releases
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago