Skip to content

Make the upward merge for non-stable packaging more obvious #18607

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

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 27 additions & 4 deletions docs/release-process.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,33 @@ slightly different steps. We'll call attention where the steps differ.
>
> Local-only release branches should not be pushed!

Do not forget to merge up PHP-X.Y all the way to master. When resolving
the conflicts, ignore the changes from PHP-X.Y in higher branches. It
means using something like `git checkout --ours .` when on PHP.X.Y+1 or
master after the merge resulting in the conflicts.
Do not forget to merge up PHP-X.Y all the way to master, including any
intermediate version branches.

```shell
# No intermediate version, merge directly to master
git checkout master
git merge PHP-X.Y
```

```shell
# One intermediate version, merge upward into master
git checkout PHP-X.Y+1
git merge PHP-X.Y
git checkout master
git merge PHP-X.Y+1
```

> 🗒 **Note** \
> When resolving the conflicts, ignore the changes from PHP-X.Y in higher
> branches. It means using something like `git checkout --ours .` when on
> PHP.X.Y+1 or master after the merge resulting in the conflicts.

> ```shell
> git checkout --ours .
> git add -p
> git commit
> ```

11. Run the following using the release tag to export the tree, create the
`configure` script, and build and compress three tarballs (`.tar.gz`,
Expand Down