-
Notifications
You must be signed in to change notification settings - Fork 8
Update release review instructions #480
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,6 +60,7 @@ git checkout -B release/7.8.0 origin/main | |
| ==== | ||
| If your project refers to its own version in the site sources, those need to be updated too. | ||
| For instance, `site-project.version` needs to be updated for `logging-parent`. | ||
| Log4j also has site-related version properties in `pom.xml` that need to be updated. | ||
| ==== | ||
| .. Release the changelog: | ||
| + | ||
|
|
@@ -99,13 +100,6 @@ If not, commit the necessary fixes, push, and repeat. | |
| Once the release is staged, the Release Manager should: | ||
|
|
||
| . Follow the xref:release-review-instructions.adoc[] to verify the integrity of the release. | ||
| . Some projects have additional integration tests that need to run on the release candidate artifacts: | ||
|
|
||
| `logging-log4j2`:: | ||
| + | ||
| Run the | ||
| https://github.com/apache/logging-log4j-samples/actions/workflows/integration-test.yaml[integration-test.yaml] | ||
| workflow using the appropriate version number and URL of the _Staging Repository_ as parameters. | ||
|
|
||
| [#vote-release] | ||
| == Vote the release | ||
|
|
@@ -154,16 +148,22 @@ git push origin rel/7.8.0 | |
| ==== | ||
| The ASF infrastructure treats ``rel/``-prefixed git tags special and ensures they are immutable for provenance reasons. | ||
| ==== | ||
| . Merge the `rel/7.8.0` tag (**not** the `release/7.8.0` branch!) to `main` | ||
| . Create a branch from `main`, merge the `rel/7.8.0` tag (**not** the `release/7.8.0` branch!), and create a PR from that | ||
| + | ||
| [source,bash] | ||
| ---- | ||
| git checkout main | ||
| git rebase origin/main # Sync with the remote repository | ||
| git merge rel/7.8.0 # Pull changes up to the newly created tag | ||
| git checkout -B post-release/7.8.0 origin/main | ||
| git merge rel/7.8.0 # Pull changes up to the newly created tag | ||
| ---- | ||
| . Set the revision property to the next development version (e.g., `7.9.0-SNAPSHOT`) in `pom.xml` | ||
| . Commit changes and push the `main` branch | ||
| . Commit changes and push the branch | ||
| + | ||
| [source,bash] | ||
| ---- | ||
| git push -u origin post-release/7.8.0 | ||
| ---- | ||
| + | ||
| . Open a pull request from `post-release/7.8.0` to `main` | ||
| . Delete the local and remote copies of the `release/7.8.0` branch | ||
| + | ||
| [source,bash] | ||
|
|
@@ -220,16 +220,17 @@ svn commit -m 'Remove `{project-id}` version `7.8.0` files released' | |
| [#publish-release-website] | ||
| == Publish the release website | ||
|
|
||
| . Merge the `rel/7.8.0` tag (**not** the `release/7.8.0` branch!) to `main-site-pro` and push it | ||
| . Create a branch from `main-site-pro`, merge the `rel/7.8.0` tag (**not** the `release/7.8.0` branch!), and push it | ||
| + | ||
| [source,bash] | ||
| ---- | ||
| git checkout main-site-pro | ||
| git rebase origin/main-site-pro # Sync with the remote repository | ||
| git merge rel/7.8.0 # Pull changes up to the newly created tag | ||
| git push origin main-site-pro | ||
| git checkout -B publish-site/7.8.0 origin/main-site-pro | ||
| git merge rel/7.8.0 # Pull changes up to the newly created tag | ||
| git push -u origin publish-site/7.8.0 | ||
|
Comment on lines
+223
to
+229
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ppkarwasz, I think we should truncate and bootstrap FWIW, I don't know what "truncate and bootstrap" exactly translate to, but we can figure that detail out. The point is, after this operation
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We can use: git push --force-with-lease origin rel/7.8.0:main-site-prowith some exceptions for LTS releases. For an LTS release you need to:
Basically we are happy to sync the website with the code during a release (and remove all documentation changes done since the previous one, since those changes should already be present in the main branch). For LTS releases we only want to cherry-pick the changelog. |
||
| ---- | ||
| + | ||
| . Open a pull request from `publish-site/7.8.0` to `main-site-pro` | ||
| + | ||
| .If there is no `main-site-pro` branch yet | ||
| [%collapsible] | ||
| ==== | ||
|
|
||
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.