Skip to content

Commit

Permalink
More work towards building components
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Nov 1, 2014
1 parent 2a6596b commit 164ed14
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -158,12 +158,12 @@ publish: guard-VERSION guard-GITHUB_USER dist/cakephp-$(DASH_VERSION).zip
components: $(foreach component, $(COMPONENTS), component-$(component))

component-%:
git checkout 3.0
git checkout 3.0 > /dev/null
- (git remote add $* git@github.com:cakephp/$*.git -f 2> /dev/null)
- (git branch -D $* 2> /dev/null)
git checkout -b $*
git filter-branch --prune-empty --subdirectory-filter src/$* -f $*

git filter-branch --prune-empty --subdirectory-filter src/$(shell php -r "echo ucfirst('$*');") -f $*
git push $* $*:master

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

0 comments on commit 164ed14

Please sign in to comment.