version
Version, currently 1.0.01 version
- 1.0.0latestJun 14, 2024
github.com/fuale/version-cr
Automate versioning and CHANGELOG generation with semver and conventional commits
0 stars
0 dependents
License: MIT
Installation
# Add this to your shard.yml
dependencies:
version:
github: fuale/version-cr
version: ~> 1.0.0Then run:
shards installshard.yml
- Crystal
>= 1.12.2- License
- MIT
- Author
- Akhmedov Farid
- Target
versionfrom src/main.cr
Dependencies
Development Dependencies
- ameba*github: crystal-ameba/amebadev
README
version
Simple app for generating changelog and bumping semver commit history
How It Works:
- Follow the Conventional Commits Specification in your repository.
- When you're ready to release, run
version bump.
version will then do the following:
- Retrieve the current version of your repository by looking at the last git tag.
- Generates a changelog based on your commits.
- Creates a new commit including your files and updated CHANGELOG.
- Creates a new tag with the new version number.
Usage
Building from Source
To build the app from source, run the following command:
# using shards
shards build
# using crystal
crystal build src/main.cr
This will create an executable named version in the bin.
Running
version -h # show help
version changes # generate changelog in current directory
version bump # create git tag and generate new changelog
Development
To run the tests, run the following command:
crystal spec
Contributing
- Fork it (https://github.com/your-github-user/version/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
- Akhmedov Farid - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.0.0- Tagged
- Jun 14, 2024
- Commit
c853a7d80e3d- Crystal
>= 1.12.2- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/fuale/version-cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 17, 2026
- Synced
- Aug 17, 2026
- Versions
- 1