Created
October 6, 2014 09:25
-
-
Save salgo/3208d2d29d13881e03d1 to your computer and use it in GitHub Desktop.
Little bit of bash to remove the current cookbook tag :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
VERSION=`grep 'version' metadata.rb | grep -o "[0-9.]" | tr -d '\n'''` | |
git tag -d $VERSION | |
git push origin :refs/tags/$VERSION |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment