Skip to content

Commit

Permalink
revert subtree-release to 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
lukadschaak committed Aug 3, 2021
1 parent 02116be commit d05dff6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bin/subtree-release
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,15 @@ set -e
set -x

CURRENT_BRANCH=`git rev-parse --abbrev-ref HEAD`
LAST_TAG=`git describe --tags $(git rev-list --tags --max-count=1)`
LAST_TAG=`git tag -l --sort=committerdate | tail -n1`

function split()
{
SHA1_TAG=`./bin/splitsh-lite --prefix=$1 --target=tags/$LAST_TAG`
git push $2 "$SHA1_TAG:$CURRENT_BRANCH" $LAST_TAG
}

split 'src/CoreShop/Component/Resource' resource
split 'src/CoreShop/Component/Registry' registry
split 'src/CoreShop/Component/Address' address
split 'src/CoreShop/Component/Configuration' configuration
Expand Down

0 comments on commit d05dff6

Please sign in to comment.