3.2.1 • Published 3 years ago

@skypilot/quick-release v3.2.1

Weekly downloads
115
License
ISC
Repository
github
Last release
3 years ago

@skypilot/quick-release

build  [npm stable  npm next  license: ISC

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 to package.json

  • get-current-version: Displays your project's current version number from package.json

  • get-next-version: Computes the next version number for your project and displays it to standard output

  • spqr-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
  • No change (patch change if released):
    • Documentation & code style: docs, 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.2.2-next.1

3 years ago

3.2.2-next.0

4 years ago

3.1.6-next.0

4 years ago

3.2.1

4 years ago

3.2.0

4 years ago

3.2.1-next.0

4 years ago

3.2.0-next.0

4 years ago

3.1.4-next.0

4 years ago

3.1.5-next.0

4 years ago

3.1.5

4 years ago

3.1.4

4 years ago

3.1.3

4 years ago

3.1.3-next.0

4 years ago

3.1.2

4 years ago

3.1.2-next.0

4 years ago

3.1.1

4 years ago

3.1.1-next.0

4 years ago

3.1.0

4 years ago

3.1.0-next.0

4 years ago

3.0.6

4 years ago

3.0.6-next.0

4 years ago

3.0.5

4 years ago

3.0.5-next.0

4 years ago

3.0.4

4 years ago

3.0.4-next.0

4 years ago

3.0.0

4 years ago

3.0.0-next.0

4 years ago

2.3.1-next.0

4 years ago

2.3.1-beta.0

4 years ago

2.3.0

4 years ago

2.2.1

4 years ago

2.2.0

4 years ago

2.0.2

4 years ago

2.2.3

4 years ago

2.3.0-next.0

4 years ago

2.2.2

4 years ago

2.2.4

4 years ago

2.0.1-next.1

4 years ago

2.1.0

4 years ago

2.0.1

4 years ago

2.2.4-next.1

4 years ago

2.2.4-beta.0

4 years ago

2.2.2-beta.0

4 years ago

2.2.4-next.0

4 years ago

2.0.1-beta.1

4 years ago

2.0.1-beta.0

4 years ago

2.0.1-next.0

4 years ago

2.0.0

4 years ago

2.0.0-next.1

4 years ago

2.0.0-next.0

4 years ago

2.0.0-alpha.0

4 years ago