Skip to content

Commit fe4bd4f

Browse files
committed
Updates for branch renames
The `develop` branch has been renamed to `1.x` and a new `2.x` branch will be added to hold development for the `2.x` version. The `main` branch, from now on, will be used as the release branch for PHPUnit Polyfills 2.x.
1 parent bb27ca0 commit fe4bd4f

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/RELEASE-CHECKLIST.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
Template to use for release PRs from `develop` to `main`
1+
Template to use for release PRs from `#.x` to `main`
22
===========================================================
33

44
Title: Release version x.x.x
55

6+
<!--
7+
If both a 1.x and a 2.x release are to be tagged, always tag the 1.x release first!
8+
-->
9+
610
## Functional
711
- [ ] Confirm that the most recent PHPUnit changelogs have been checked and that the library is still feature complete for those versions supported within the PHPUnit version constraints.
812
- [ ] Update the `VERSION` constant in the `phpunitpolyfills-autoload.php` file.
@@ -13,8 +17,8 @@ Title: Release version x.x.x
1317
Verify that a release link at the bottom of the `CHANGELOG.md` file has been added.
1418
- [ ] Merge this PR.
1519
- [ ] Make sure all CI builds are green.
16-
- [ ] Tag the release (careful, GH defaults to `develop`!).
17-
- [ ] Create a release from the tag (careful, GH defaults to `develop`!) & copy & paste the changelog to it.
20+
- [ ] Tag the release (careful, GH defaults to `2.x`!).
21+
- [ ] Create a release from the tag (careful, GH defaults to `2.x`!) & copy & paste the changelog to it.
1822
Make sure to copy the links to the issues and the links to the GH usernames from the bottom of the changelog!
1923
- [ ] Close the milestone.
2024
- [ ] Open a new milestone for the next release.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -763,7 +763,7 @@ if ( defined( '\Yoast\PHPUnitPolyfills\Autoload::VERSION' ) === false
763763

764764
Contributing
765765
------------
766-
Contributions to this project are welcome. Clone the repo, branch off from `develop`, make your changes, commit them and send in a pull request.
766+
Contributions to this project are welcome. Clone the repo, branch off from the oldest #.x branch the patch applies to, make your changes, commit them and send in a pull request against the correct #.x branch.
767767

768768
If you are unsure whether the changes you are proposing would be welcome, please open an issue first to discuss your proposal.
769769

composer.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@
4444
},
4545
"extra": {
4646
"branch-alias": {
47-
"dev-main": "1.x-dev",
48-
"dev-develop": "1.x-dev"
47+
"dev-main": "2.x-dev"
4948
}
5049
},
5150
"scripts": {

0 commit comments

Comments
 (0)