Skip to content

Commit

Permalink
Remove branches and remotes from creating components.
Browse files Browse the repository at this point in the history
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 d18b87a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Expand Up @@ -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.