Update RELEASING.md (#5131)
* Update RELEASING.md * Remove generate-release-contributors.sh * Simplify
This commit is contained in:
parent
95e240c3e1
commit
dd72e9e5f4
|
@ -14,6 +14,8 @@ as the last step, which publishes a snapshot build to
|
||||||
Before making the release:
|
Before making the release:
|
||||||
|
|
||||||
* Merge a PR to `main` updating the `CHANGELOG.md`
|
* Merge a PR to `main` updating the `CHANGELOG.md`
|
||||||
|
* Use the script at `buildscripts/draft-change-log-entries.sh` to help create an initial draft.
|
||||||
|
We typically only include end-user facing changes in the change log.
|
||||||
* Run the [Prepare Release Branch workflow](https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/workflows/prepare-release-branch.yml).
|
* Run the [Prepare Release Branch workflow](https://github.com/open-telemetry/opentelemetry-java-instrumentation/actions/workflows/prepare-release-branch.yml).
|
||||||
* Review and merge the two PRs that it creates (one is targeted to the release branch and one is targeted to the `main` branch)
|
* Review and merge the two PRs that it creates (one is targeted to the release branch and one is targeted to the `main` branch)
|
||||||
* Delete the branches from these two PRs since they are created in the main repo
|
* Delete the branches from these two PRs since they are created in the main repo
|
||||||
|
@ -33,10 +35,9 @@ After making the release:
|
||||||
|
|
||||||
## Announcement
|
## Announcement
|
||||||
|
|
||||||
Once the GitHub workflow completes, go to Github [release
|
Once the GitHub workflow completes, go to Github
|
||||||
page](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases), press
|
[release page](https://github.com/open-telemetry/opentelemetry-java-instrumentation/releases),
|
||||||
`Draft a new release` to write release notes about the new release. If there is already a draft
|
find the draft release created by the release workflow, and copy the change log into it.
|
||||||
release notes, just point it at the created tag.
|
|
||||||
|
|
||||||
## Patch Release
|
## Patch Release
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
git log --reverse --pretty=format:"- %s" "$1"..HEAD \
|
||||||
|
| sed -r 's,\(#([0-9]+)\),([#\1](https://github.com/open-telemetry/opentelemetry-java-instrumentation/pull/\1)),'
|
||||||
|
echo
|
Loading…
Reference in New Issue