#!/bin/sh -e
#
# git-retag - rename a tag

git push origin refs/tags/"${1}":refs/tags/"${2}" :refs/tags/"$1" \
  && git tag --delete "$1"
