aerc/contrib/_incr_version

5 lines
121 B
Bash
Executable File

#!/bin/sh -eu
sed -i Makefile -e "s/^VERSION=${1}/VERSION=${2}/"
git add Makefile
git commit -m "Update version to ${2}"