change
Change
Small tool to automate creation of Crystal shards and apps releases.
Change updates CHANGELOG.md
and shard.yml
, commits it and tags it. It doesn't push it which allows you to give it the final eyeball.
Installation
Change can be installed as a development dependency:
development_dependencies:
change:
github: xendk/change
Alternatively you can compile the binary and put it in your path.
Usage
Creating a CHANGELOG.md
can be done with change create
.
While working on your project add changelog entries under the ### Unreleased
header, following the format described in keep a changelog.
When ready for a new release simply run change 1.0.0
to create the 1.0.0
release. You can run the program with -n
to see what it will do.
As a convenience, if the unrelased header is formatted as
## <version> - Unreleased
You do not need to supply a version to change
, it'll use the version from the header and make the next unreleased version the following patch version.
The reasoning is that whether the next release will be a major, minor or patch release is most present when adding the changelog entries, and fixing the header at the same time is a way to record this.
Contributing
- Fork it (https://github.com/xendk/change/fork)
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Contributors
- Thomas Fini Hansen - creator and maintainer
change
- 0
- 0
- 0
- 0
- 0
- 4 months ago
- June 21, 2024
MIT License
Sun, 17 Nov 2024 11:17:07 GMT