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

ci: add a script to process changelog files from emqx and workflow #2772

Merged
merged 2 commits into from
Dec 18, 2024

Conversation

id
Copy link
Contributor

@id id commented Dec 13, 2024

Example of generated PR (indentation is fixed now): #2777

@id id force-pushed the 20241213-update-changelog-from-ci branch from 6541191 to 7cd370e Compare December 16, 2024 17:58
@id id marked this pull request as ready for review December 16, 2024 17:59
thalesmg
thalesmg previously approved these changes Dec 16, 2024
.github/workflows/update-changelog.yaml Show resolved Hide resolved
.github/workflows/update-changelog.yaml Show resolved Hide resolved
.github/workflows/update-changelog.yaml Show resolved Hide resolved
update-changelog.sh Outdated Show resolved Hide resolved
update-changelog.sh Outdated Show resolved Hide resolved
update-changelog.sh Outdated Show resolved Hide resolved
update-changelog.sh Outdated Show resolved Hide resolved
if ! grep -q $pr_num en_US/changes/changes-$edition-v5.md; then
pr_num="$(echo "${f}" | sed -E 's/.*-([0-9]+)\.[a-z]+\.md$/\1/')"
if ! grep -q "^- \[#$pr_num\]" en_US/changes/changes-$edition-v5.md; then
if [ $pr_num -lt 10000 ]; then
Copy link
Member

Choose a reason for hiding this comment

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

ok, this will buy some years time. ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

by then we should move everything back to the original repo 🤞

@id id merged commit 65eee95 into release-5.8 Dec 18, 2024
7 checks passed
@id id deleted the 20241213-update-changelog-from-ci branch December 18, 2024 09:19
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