#!/bin/sh if [ $# -ne 4 ]; then cat <<__EOF__ >&2 ./bump eg. /bump 0.5.3 2018-10-07 26 2018-09-25 __EOF__ exit 1 else projects/anonymine/index.html.src.sh $1 $2 $3 $4 >projects/anonymine/index.html.src make git add projects/anonymine/index.html projects/anonymine/index.html.src git commit -m "Bumped anonymine to $1 $2 ($3 $4)" (cd archive/anonymine; ./update; cd ../..) fi