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
echo" - core beta module set from $current_beta_core to $next_beta_core"
@@ -152,23 +147,13 @@ echo " - contrib beta module set from $current_beta_contrib to $next_beta_contr
152
147
echo" - distribution version to $next_distribution_version"
153
148
forfilein"${manifest_files[@]}";do
154
149
if [ -f"$file" ];then
155
-
sed "s/\(^.*go\.opentelemetry\.io\/collector\/.*\) v$escaped_current_beta_core/\1 v$next_beta_core/""$file">"$file.tmp"
156
-
mv "$file.tmp""$file"
157
-
sed "s/\(^.*github\.com\/open-telemetry\/opentelemetry-collector-contrib\/.*\) v$escaped_current_beta_contrib/\1 v$next_beta_contrib/""$file">"$file.tmp"
158
-
mv "$file.tmp""$file"
159
-
sed "s/\(^.*go\.opentelemetry\.io\/collector\/.*\) v$escaped_current_stable/\1 v$next_stable_core/""$file">"$file.tmp"
160
-
mv "$file.tmp""$file"
161
150
sed "s/version: .*/version: $next_distribution_version/""$file">"$file.tmp"
162
151
mv "$file.tmp""$file"
163
152
else
164
153
echo"File $file does not exist"
165
154
fi
166
155
done
167
156
168
-
# Update Makefile OCB version
169
-
sed "s/OTELCOL_BUILDER_VERSION ?= $escaped_current_beta_core/OTELCOL_BUILDER_VERSION ?= $next_beta_core/" Makefile > Makefile.tmp
Copy file name to clipboardExpand all lines: docs/release.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,26 +11,27 @@ For general information about all Collector repositories release procedures, see
11
11
0. Ensure that the [opentelemetry-collector][1] and [opentelemetry-collector-contrib][2] release procedures have been followed and a new
12
12
opentelemetry-collector and opentelemetry-collector-contrib version have been released. The opentelemetry-collector-releases release
13
13
should be done after both of these releases.
14
-
1. Run the GitHub Action workflow "[Update Version in Distributions and Prepare PR](https://github.com/open-telemetry/opentelemetry-collector-releases/actions/workflows/update-version.yaml)" which will update the minor version automatically (e.g. v0.116.0 -> v0.117.0) or manually provide a new version if releasing a bugfix or skipping a version. Select "create pr" option.
14
+
1. Review and merge the 2 Renovate PRs for core and contrib components, including OCB. If they were not created or updated yet, you can go to the **Dependency Dashboard** GitHub issue and check the boxes for the updates or for a manual Renovate run to expedite the process.
15
+
2. Run the GitHub Action workflow "[Update Version in Distributions and Prepare PR](https://github.com/open-telemetry/opentelemetry-collector-releases/actions/workflows/update-version.yaml)" which will update the minor version automatically (e.g. v0.116.0 -> v0.117.0) or manually provide a new version if releasing a bugfix or skipping a version. Select "create pr" option.
15
16
The PR needs to be manually closed and re-opened once to trigger pipelines.
16
17
- 🛑 **Do not move forward until this PR is merged.** 🛑
17
-
2. Check out main and ensure it has the "Update version from ..." commit in your local
18
+
3. Check out main and ensure it has the "Update version from ..." commit in your local
18
19
copy by pulling in the latest from
19
20
`open-telemetry/opentelemetry-collector-releases`. Assuming your upstream
20
21
remote is named `upstream`, you can try running:
21
22
-`git checkout main && git fetch upstream && git rebase upstream/main`
22
-
3. Create a tag for the new release version by running:
23
+
4. Create a tag for the new release version by running:
23
24
24
25
⚠️ If you set your remote using `https` you need to include `REMOTE=https://github.com/open-telemetry/opentelemetry-collector-releases.git` in each command. ⚠️
25
26
26
27
-`make push-tags TAG=v0.85.0`
27
-
4. Wait for the new tag build to pass successfully.
28
-
5. Ensure the "Release Core", "Release Contrib", "Release k8s", "Release OTLP", "Release Builder" and "Release OpAMP Suporvisor" actions pass, this will
28
+
5. Wait for the new tag build to pass successfully.
29
+
6. Ensure the "Release Core", "Release Contrib", "Release k8s", "Release OTLP", "Release Builder" and "Release OpAMP Suporvisor" actions pass, this will
29
30
1. push new container images to `https://hub.docker.com/repository/docker/otel/opentelemetry-collector`, `https://hub.docker.com/repository/docker/otel/opentelemetry-collector-contrib` and `https://hub.docker.com/repository/docker/otel/opentelemetry-collector-k8s` as well as their respective counterparts on GHCR
30
31
2. create a Github release for the tag and push all the build artifacts to the Github release. See [example](https://github.com/open-telemetry/opentelemetry-collector-releases/actions/workflows/release-core.yaml).
31
32
3. build and release ocb and opampsupervisor binaries under a separate tagged Github release, e.g. `cmd/{builder,opampsupervisor}/v0.85.0`
32
33
4. build and push ocb and opampsupervisor Docker images to `https://hub.docker.com/r/otel/opentelemetry-collector-builder` and the GitHub Container Registry within the releases repository (and opampsupervisor respectively)
33
-
6. Update the release notes with the CHANGELOG.md updates.
34
+
7. Update the release notes with the CHANGELOG.md updates.
0 commit comments