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

github-upload-release.py: Fix bug preventing release creation #84571

Merged
merged 1 commit into from
Mar 9, 2024

Conversation

tstellar
Copy link
Collaborator

@tstellar tstellar commented Mar 8, 2024

After aa02002 we started passing the user name to the create_release function and this was being interpreted as the git tag.

After aa02002 we started passing the
user name to the create_release function and this was being interpreted
as the git tag.
Copy link
Contributor

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

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

LGTM. Wish I would've caught this in the original patch that changed this. Probably again highlights the need for better testing when someone has time to get that done.

I don't think there's an easy way to catch this with static analysis either. Typing annotations/running something like pytype wouldn't catch this since everything would just end up being strings.

@tstellar tstellar merged commit 0b9ce71 into llvm:main Mar 9, 2024
5 checks passed
@tstellar tstellar added this to the LLVM 18.X Release milestone Apr 11, 2024
@tstellar
Copy link
Collaborator Author

/cherry-pick 0b9ce71

llvmbot pushed a commit to llvmbot/llvm-project that referenced this pull request Apr 11, 2024
…4571)

After aa02002 we started passing the
user name to the create_release function and this was being interpreted
as the git tag.

(cherry picked from commit 0b9ce71)
@llvmbot
Copy link
Collaborator

llvmbot commented Apr 11, 2024

/pull-request #88425

tstellar added a commit to llvmbot/llvm-project that referenced this pull request Apr 15, 2024
…4571)

After aa02002 we started passing the
user name to the create_release function and this was being interpreted
as the git tag.

(cherry picked from commit 0b9ce71)
@pointhex pointhex mentioned this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

3 participants