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] Fix release issue creation script #8307

Merged
merged 1 commit into from
Aug 29, 2023

Conversation

dmitryax
Copy link
Member

Make the filtering for existing issues strict to avoid picking unrelated issues. This happened in during 0.84.0 release

+ RELEASE_VERSION=v/v0.84.0
+ '[' '' == '' ']'
+ RELEASE_VERSION=v0.84.0
+ '[' 0.84.0 == '' ']'
++ gh issue list --search 'Release v0.84.0' --json url --jq '.[].url' --repo open-telemetry/opentelemetry-collector
+ EXISTING_ISSUE=https://github.com/open-telemetry/opentelemetry-collector/issues/8063
+ '[' https://github.com/open-telemetry/opentelemetry-collector/issues/8063 '!=' '' ']'
+ echo 'Issue already exists: https://github.com/open-telemetry/opentelemetry-collector/issues/8063'
+ exit 0
Issue already exists: https://github.com/open-telemetry/opentelemetry-collector/issues/8063

Make the filtering for existing issues strict to avoid picking unrelated issues. This happened in during 0.84.0 release
```
+ RELEASE_VERSION=v/v0.84.0
+ '[' '' == '' ']'
+ RELEASE_VERSION=v0.84.0
+ '[' 0.84.0 == '' ']'
++ gh issue list --search 'Release v0.84.0' --json url --jq '.[].url' --repo open-telemetry/opentelemetry-collector
+ EXISTING_ISSUE=open-telemetry#8063
+ '[' open-telemetry#8063 '!=' '' ']'
+ echo 'Issue already exists: open-telemetry#8063'
+ exit 0
Issue already exists: open-telemetry#8063
```
@dmitryax dmitryax requested review from a team and djaglowski August 29, 2023 21:53
@codecov
Copy link

codecov bot commented Aug 29, 2023

Codecov Report

Patch has no changes to coverable lines.

📢 Thoughts on this report? Let us know!.

@dmitryax dmitryax merged commit 064df80 into open-telemetry:main Aug 29, 2023
@github-actions github-actions bot added this to the next release milestone Aug 29, 2023
@dmitryax dmitryax deleted the fix-release-ci branch August 30, 2023 19:42
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.

2 participants