Skip to content

Instantly share code, notes, and snippets.

View seufagner's full-sized avatar
🏠
Working from home

Fagner Moura seufagner

🏠
Working from home
View GitHub Profile
#!/bin/bash
# works with a file called VERSION in the current directory,
# the contents of which should be a semantic version number
# such as "1.2.3"
# this script will display the current version, automatically
# suggest a "minor" version update, and ask for input to use
# the suggestion, or a newly entered value.