Skip to content

fix(release): minimum needed to run twine to publish#1021

Merged
alexeagle merged 9 commits intomainfrom
use_twine
Feb 7, 2023
Merged

fix(release): minimum needed to run twine to publish#1021
alexeagle merged 9 commits intomainfrom
use_twine

Conversation

@alexeagle
Copy link
Copy Markdown
Contributor

@alexeagle alexeagle commented Jan 26, 2023

Earlier attempts to publish 0.17 have failed mysteriously at the pypa/gh-action-pypi-publish step. This PR replaces that with a command that I can test locally:

TWINE_USERNAME=__token__ TWINE_PASSWORD=pypi-*** bazel run --stamp --embed_label=1.2.4 //python/runfiles:wheel.publish -- --repository testpypi

Uploading bazel_runfiles-1.2.4-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 kB • 00:00 • 27.3 MB/s

View at:
https://test.pypi.org/project/bazel-runfiles/1.2.4/

This is a (hopefully) less contentious subset of #1015 where we just run a binary ourselves but don't try to make a public API out of it yet.

Earlier attempts to publish 0.17 have failed mysteriously at the pypa/gh-action-pypi-publish step.
This PR replaces that with a command that I can test locally.

TWINE_USERNAME=__token__ TWINE_PASSWORD=pypi-*** bazel run --stamp --embed_label=1.2.4 //python/runfiles:wheel.publish -- --repository testpypi
Uploading bazel_runfiles-1.2.4-py3-none-any.whl
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.0/11.0 kB • 00:00 • 27.3 MB/s

View at:
https://test.pypi.org/project/bazel-runfiles/1.2.4/
@alexeagle alexeagle force-pushed the use_twine branch 2 times, most recently from 9c89328 to 90e0db3 Compare February 7, 2023 16:41
Alex Eagle and others added 4 commits February 7, 2023 13:03
Co-authored-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
Co-authored-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
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