Bumping a semantic version string using a bash script
A one-line Bash-Perl script to bump semantic version strings
The script reads the current version from a file, increments the specified part (major, minor, or patch), resets lower parts to zero, and writes the result back to the file
The script can be easily integrated with a Makefile for automated version bumps