Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 23 lines (17 sloc) 0.4 kb
#!/bin/bash
#
# Script used to remove the latest tag
#
set -e
MY_PATH=$(cd ${0%/*} && echo $PWD/${0##*/})
TOOL_PATH=`dirname "$MY_PATH"`
VERSION=`$TOOL_PATH/get-version`
git fetch --tags
if [ "`git tag -l | grep $VERSION`" == "" ] ; then
echo "Warning: version $VERSION does not exists, can untag. Aborting ..."
exit 2
fi
git tag -d $VERSION
git push origin :$VERSION
git push --tags
exit 0
Jump to Line
Something went wrong with that request. Please try again.