In the article How to increase the version number? we introduced our little version management program, and now we have extended it with some features that we want to present.
"And it is to come, the simplified way of versioning. 'Version' it will be called. It will hold version management in its hands and free it from the shackles of complexity. For it has been predicted that it will be a guiding star in the infinity of the developer cosmos." đŸ˜€
In software development, daily tasks are often varied and complex. One of them is version management, which seems simple, but can often be error-prone and time-consuming. With this in mind, we present a small but powerful tool called 'Version' that makes this task easier.
Version is a powerful tool designed specifically for incrementing project version numbers. Embedded in your command line, 'Version' allows you to conveniently manage versions without having to switch contexts or manually edit files.
Version makes it easy to increment patch, minor and major versions. A simple command like version patch, version minor or version major followed by the current version number will give you the new version instantly.
In addition, version provides the ability to change versions directly in YAML and JSON files. For example, you can use the command version patch --path my.json --selector my.version to automatically increment the version number in a JSON file.
Git users have not been forgotten either. With the version patch --git command, 'version' can set a new git tag with the updated version.
In addition, `version' has the handy feature of printing the current build date, a useful feature for creating build processes.
However, one of the smartest features of version is the auto function. It allows the tool to automatically determine the next version based on the project's Git commit history since the last day. This assumes that the commit messages follow the conventional commit format.
In addition, Version integrates seamlessly with your Makefiles, where it can be used for automatic version management.
All in all, Version is a simple but effective tool that fits perfectly into the philosophy of the Linux ecosystem: "Do a thing and do it well". With Bump Version, version management becomes less complicated and time-consuming, leaving you more time for the tasks that really matter.
Windows and Mac versions are also available.
You can also use it with NixOS.
Top comments (0)