@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-release
How to use
Quick Release exposes four commands:
bump-version
: Computes the next version number for your project and writes it topackage.json
get-current-version
: Displays your project's current version number frompackage.json
get-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.yml
options 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(): string
getCurrentVersion(): string
parseMessageChangeLevel(message: string): ChangeLevel
parseMessagesChangeLevel(messages: string[]): ChangeLevel
Coming soon
These features are slated for development in the near future:
- Changelog generation
- Automated creation of GitHub Releases
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago