-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NEW Use supported modules repo for branch-based logic #35
NEW Use supported modules repo for branch-based logic #35
Conversation
f80c990
to
0048b55
Compare
if ($composerJson) { | ||
file_put_contents('__composer.json', $composerJson); | ||
} | ||
file_put_contents('__branches.json', $branchesJson); | ||
file_put_contents('__tags.json', $tagsJson); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Putting the files there means we don't have a separate code path for tests than we do for normal execution. This is the same as how we handle composer.json data in the generate-matrix tests.
87d51fd
to
8e2dc8a
Compare
composer.json
Outdated
"require-dev": { | ||
"phpunit/phpunit": "^9.6" | ||
}, | ||
"require": { | ||
"silverstripe/supported-modules": "dev-pulls/main/combine-all-versions" | ||
}, | ||
"repositories": { | ||
"silverstripe/supported-modules": { | ||
"type": "vcs", | ||
"url": "git@github.com:creative-commoners/supported-modules.git" | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"require-dev": { | |
"phpunit/phpunit": "^9.6" | |
}, | |
"require": { | |
"silverstripe/supported-modules": "dev-pulls/main/combine-all-versions" | |
}, | |
"repositories": { | |
"silverstripe/supported-modules": { | |
"type": "vcs", | |
"url": "git@github.com:creative-commoners/supported-modules.git" | |
} | |
} | |
"require": { | |
"silverstripe/supported-modules": "dev-main" | |
}, | |
"require-dev": { | |
"phpunit/phpunit": "^9.6" | |
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yup, that'll be done once the PR for that fork is merged, so we can easily rerun CI here against that PR to see it go green if changes are needed over there.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done now that the fork PR is merged and the repo is in packagist.
8e2dc8a
to
376a983
Compare
@GuySartorelli Remember to create a new minor branch and manually tag |
Issue