pypa / twine

Utilities for interacting with PyPI

Home Page:https://twine.readthedocs.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

twine upload: error: the following arguments are required: dist

macurandb opened this issue · comments

Is there an existing issue for this?

  • I have searched the existing issues (open and closed), and could not find an existing issue

What keywords did you use to search existing issues?

No response

What operating system(s) are you using?

Windows 10, Windows 11, Linux, macOS, Other

If you selected 'Other', describe your Operating System here

Other

What version of Python are you running?

3.11.4

How did you install twine? Did you use your operating system's package manager or pip or something else?

pip install twine

What version of twine do you have installed (include the complete output)

5.0.0

Which package repository are you using?

pypi

Please describe the issue that you are experiencing

I am uploading a package to GCP using Github action but when I tried to execute the command using my laptop (Mac) works properly but in the Github action throw the error

twine upload --repository-url https://gcp-artifactory/project/ -u _json_key -p "CREDENTIALS" ./target/wheels/file.whl

                [-s] [--sign-with SIGN_WITH] [-i IDENTITY] [-u USERNAME]
                [-p PASSWORD] [--non-interactive] [-c COMMENT]
                [--config-file CONFIG_FILE] [--skip-existing]
                [--cert path] [--client-cert path] [--verbose]
                [--disable-progress-bar]
                dist [dist ...]

twine upload: error: the following arguments are required: dist
If the folder is the same, why do I have this issue? Do you have any suggestions on how to solve it?

Please list the steps required to reproduce this behaviour

I didn't have dist folder because I am building a with Maturin a rust library

Please include the PKG-INFO file contents from the artifact you're attempting to upload

I didn't

A redacted version of your .pypirc file

I didn't

Anything else you'd like to mention?

No response