You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: RELEASING.md
+21-60Lines changed: 21 additions & 60 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,23 +15,17 @@ next _minor_ release version. This means version `vX.(Y+1).0-SNAPSHOT`.
15
15
16
16
## Starting the Release
17
17
18
-
Before making the release, merge a PR to `main` updating the `CHANGELOG.md`. You can use the script
19
-
at `buildscripts/draft-change-log-entries.sh` to help create an initial draft. We typically only
20
-
include end-user facing changes in the change log.
18
+
Before making the release, merge a PR to `main` updating the `CHANGELOG.md`.
19
+
You can use the script at `buildscripts/draft-change-log-entries.sh` to help create an initial draft.
20
+
Typically only end-user facing changes are included in the change log.
21
21
22
-
Open the release build workflow in your browser [here](https://github.com/open-telemetry/opentelemetry-java-contrib/actions/workflows/release-build.yml).
22
+
Open the [Release workflow](https://github.com/open-telemetry/opentelemetry-java-contrib/actions/workflows/release-build.yml).
23
23
24
-
You will see a button that says "Run workflow". Press the button, enter the version number you want
25
-
to release in the input field that pops up, and then press "Run workflow".
24
+
Press the "Run workflow"button, then select the release branch from the dropdown list,
25
+
e.g. `v1.9.x`, and click the "Run workflow" button below that.
26
26
27
-
This triggers the release process, which builds the artifacts, publishes the artifacts, and creates
find the draft release created by the release workflow, and
33
-
* Select the checkbox for "Create a discussion for this release"
34
-
* Press the "Publish release" button
27
+
This workflow will publish the artifacts to maven central and will publish a github release with the
28
+
javaagent jar attached and release notes based on the change log.
35
29
36
30
### Notifying other OpenTelemetry projects
37
31
@@ -41,55 +35,22 @@ When cutting a new release, the relevant integration tests for components in oth
41
35
42
36
## Patch Release
43
37
44
-
All patch releases should include only bug-fixes, and must avoid
45
-
adding/modifying the public APIs.
46
-
47
-
Open the patch release build workflow in your browser [here](https://github.com/open-telemetry/opentelemetry-java-contrib/actions/workflows/patch-release-build.yml).
48
-
49
-
You will see a button that says "Run workflow". Press the button, enter the version number you want
50
-
to release in the input field for version that pops up and the commits you want to cherrypick for the
51
-
patch as a comma-separated list. Then, press "Run workflow".
52
-
53
-
If the commits cannot be cleanly applied to the release branch, for example because it has diverged
54
-
too much from main, then the workflow will fail before building. In this case, you will need to
55
-
prepare the release branch manually.
56
-
57
-
This example will assume patching into release branch `v1.2.x` from a git repository with remotes
0 commit comments