ffmpeg-kit/tools/tag.sh
2021-03-03 18:59:41 +00:00

16 lines
208 B
Bash
Executable File

#!/bin/bash
#
# Creates a new tag on the current branch
#
if [ $# -ne 1 ];
then
echo "Usage: tag.sh <tag name>"
exit 1
fi
git tag -d $1
git push origin ":refs/tags/"$1
git tag $1
git push origin $1