Skip to content

Commit

Permalink
Now the splitting should work in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
edgrosvenor committed Jan 17, 2025
1 parent 1271fff commit b8974e4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
run: composer install --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Split
if: success()
run: ./split.sh
run: php artisan kibble:split
4 changes: 2 additions & 2 deletions packages/kibble/src/Commands/SplitPackagesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ public function handle(): int

$commands = [
['git', 'subtree', 'split', '--prefix=packages/'. last(explode('/', $package)), '-b', 'split-branch'],
['git', 'push', $json['name'], 'split-branch:main', '--force'],
['git', 'branch', '-d', 'split-branch'],
['git', 'push', 'https://github.com/' . $json['name'], 'split-branch:main', '--force'],
['git', 'branch', '-D', 'split-branch'],
];

foreach ($commands as $command) {
Expand Down

0 comments on commit b8974e4

Please sign in to comment.