#!/usr/bin/env sh

TAG="$1"

if [ -z "$TAG" ]; then
    echo "Usage: $0 TAG"
    echo "Example: $0 v1.0.1"
    exit 1
fi

git tag -a "$TAG" -m "Release $TAG"
echo "Done! Run 'git push --tags' to push tag $TAG"
