Skip to content
Merged
Show file tree
Hide file tree
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
13 changes: 2 additions & 11 deletions docs/releasing.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,17 +89,8 @@ with:
**pointing at the first commit (a)** that was merged into main. For the
example PR listed above, that creates release
[`v0.11b0@4ad9ccd`](https://github.com/GoogleCloudPlatform/opentelemetry-operations-python/releases/tag/v0.11b0).
- In description, paste a changelog for the packages. I used this (probably
buggy) small script for the example PR's tag:

```bash
for cl in opentelemetry-*/CHANGELOG.md; do
if cl_entries=`pcregrep -M -o1 "^## Version 0\.10b0$\n\n^Released.*\n\n((?:- [\s\S]+?)*?)(?=(\s+##|\Z))" $cl`
then
echo -e "# `dirname $cl`\n$cl_entries"
fi
done
```

Click the "Generate release notes" button in the UI to get an autogenerated changelog for the packages.

Once the release tag is created, move the `stable` tag to point to the same
commit.
Expand Down
1 change: 1 addition & 0 deletions opentelemetry-exporter-gcp-logging/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ Usage
-----

.. code:: python
import logging
from opentelemetry.exporter.cloud_logging import (
CloudLoggingExporter,
Expand Down