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

ci: upload to pypi on github release #77

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

corytodd
Copy link
Collaborator

Use pypi github action to upload the artifact of a build. A tag must be present on the commit being built which a normal
Github Release should provide. We can also add an on tag push trigger if that helps.

I tested this on my fork by adding an upload artifact step, downloading the wheel, and installing in a venv. The version
reports correctly and the cli tool runs as expected. If possible, it might be nice to publish to a pypi dev first to make sure
other people can test it.

Fixes #75

Use pypi github action to upload the artifact of a build. A tag must be
present on the commit being built.

Fixes xlwings#75
@corytodd corytodd requested a review from fzumstein May 24, 2024 19:10
@fzumstein
Copy link
Member

Thanks, this looks great! Hope to release this soon!

@fzumstein
Copy link
Member

I left one question in the code comments (just to make sure you see it).

@fzumstein fzumstein merged commit 003977a into xlwings:master Jun 24, 2024
8 checks passed
@fzumstein
Copy link
Member

I've added the GH Actions secret -- do you want to give it a go and make a new release?

@corytodd
Copy link
Collaborator Author

Nice, I'll give it a go!

@corytodd corytodd deleted the ci-publish-on-gh-release branch June 29, 2024 03:39
@corytodd
Copy link
Collaborator Author

Cool, all set. https://pypi.org/project/jsondiff/

Took a second try because the pypi pkg-info was broken. That's why we have a 2.1.0 and an immediate 2.1.1.

@corytodd
Copy link
Collaborator Author

Installed and tested in a fresh env, looks good to me.

@fzumstein
Copy link
Member

👏 awesome, thanks so much!

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.

New release??
2 participants