Skip to content
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

[chore] Automate adding release notes to the release #2657

Merged

Conversation

swiatekm
Copy link
Contributor

Automatically add release notes to the release generated by the CI. This is done in a very simple way, by using sed to cut out the relevant lines from the changelog based on current and previous release tags. Here's a release I generated using this script: https://github.com/swiatekm-sumo/opentelemetry-operator/releases/tag/v0.94.0.

@swiatekm swiatekm requested a review from a team February 22, 2024 12:09
@swiatekm swiatekm force-pushed the ci/autogenerate-release-notes branch from fcf337c to d29b24e Compare February 26, 2024 18:12

gh config set prompt disabled
gh release create \
-t "Release ${OPERATOR_VERSION}" \
--notes-file ${NOTES_FILE} \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we should update the release.md ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't have anything about this in release.md, it basically says "maintainers will take care of it". I'm also working on automating creating the release based on changes in versions.txt, so you wouldn't need to manually tag it anymore.

@pavolloffay pavolloffay merged commit e52882a into open-telemetry:main Feb 28, 2024
29 checks passed
@swiatekm swiatekm deleted the ci/autogenerate-release-notes branch February 28, 2024 15:49
ItielOlenick pushed a commit to ItielOlenick/opentelemetry-operator that referenced this pull request May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants