#!/usr/bin/env bash
_DIR=$(cd "$(dirname "$0")"; pwd)cd $_DIR
version="./version.txt"next=$(cat $version | awk -F. -v OFS=. '{$NF++;print}')echo $next > $versionecho $next
sed -i "s/@[0-9]\+.[0-9]\+.[0-9]\+\//@$next\//g" readme.make.mdgit add -ugit commit -m "."git tag $nextgit push --tag