ffmpeg-kit/tools/tag.sh

16 lines
208 B
Bash
Raw Normal View History

2021-03-02 01:25:17 +02:00
#!/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