Skip to content
Permalink
Browse files

Remove branches and remotes from creating components.

It always bothers me that I have to clean up these remotes and branches
by hand after doing a release.
  • Loading branch information...
markstory committed May 6, 2015
1 parent b469cf1 commit d18b87af0fd4533e438cf9d1a3c8bb096bb254c2
Showing with 2 additions and 0 deletions.
  1. +2 −0 Makefile
@@ -175,6 +175,8 @@ tag-component-%: component-% guard-VERSION guard-GITHUB_USER
"sha": "$(shell git rev-parse $*)" \
}'
git checkout $(CURRENT_BRANCH) > /dev/null
git branch -D $*
git remote rm $*

# Top level alias for doing a release.
release: guard-VERSION guard-GITHUB_USER tag-release package publish components-tag

0 comments on commit d18b87a

Please sign in to comment.
You can’t perform that action at this time.