releam

Package Version Hex Docs

Releam is an opinionated gleam package release CLI tool and also a set of utilities for parsing conventional commits. It is based on the semver and conventional commit specs. Invalid conventional commits will be ignored by this tool.

It is highly inspired by unjs/changelogen, shoutout to the unjs team for the amazing work in JS land ! You can expect more features comming from this tool in the future.

Install

gleam add --dev releam

Usage

Once you are ready to create a new release from your main git branch, run the following :

gleam run -m releam [-- FLAGS]

It will :

To force a bump type, you can use --major, --minor, and --patch flags. You can also push git release commit and new tag automatically with the --push flag.

If you have specific requirements, this package exposes all its internal function for you to build your custom release script.

Configuration

You can configure automatic git push when running releam by adding this to your gleam.toml :

[releam]
auto_push = true

By default, auto push is disabled.

Documentation

Further documentation can be found at https://hexdocs.pm/releam.

Development

gleam run   # Run the project
gleam test  # Run the tests
Search Document