mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-03-31 23:05:14 -05:00
16 lines
247 B
Bash
16 lines
247 B
Bash
function retag()
|
|
{
|
|
echo $1
|
|
set -x
|
|
# local
|
|
if [ `git tag -l | grep -e $1 > /dev/null 2>&1` ];then
|
|
# remove
|
|
git tag -d $1
|
|
git push upstream :$1
|
|
fi
|
|
git tag $1
|
|
git push upstream --tags
|
|
set +x
|
|
}
|
|
|