-
Notifications
You must be signed in to change notification settings - Fork 105
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
CU-8693ftbyx: Make GH pre-release tag apply for PyPI #389
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LTGM and one minor comment.
.github/workflows/main.yml
Outdated
# The idea is that if the pre-release works, so does the regular release. | ||
# The other option would be to run for pre-release and regular release | ||
# but the trivial version for that would duplicate a bunch of the YAML. | ||
run: echo ::set-output name=is_prerelease::true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The set-output
has been deprecated so pls consider using other options such as GITHUB_ENV. The same applies to line 96.
This does not do anything.
|
Currently when drafting a release on GitHub and marking it as a pre-release, it gets sent to PyPI as a full release rather than a pre-release.
This PR attempts to fix that by
PS:
I don't really know how to test the change. I just put it together from example online.