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: add workflow to build and upload package #531

Merged
merged 1 commit into from
Aug 18, 2021
Merged

ci: add workflow to build and upload package #531

merged 1 commit into from
Aug 18, 2021

Conversation

jenhagg
Copy link
Collaborator

@jenhagg jenhagg commented Aug 18, 2021

Purpose

New workflow to handle building and uploading the package to PyPI whenever we push a new git tag with the specified version scheme. It can also be run manually, so we can test it out on the existing v0.4.3 release.

What the code is doing

Usual workflow stuff. We install the build package to create the dist/ folder which will be uploaded subsequently using the github action provided by pypa.

Testing

Tested the release to TestPyPI initially by omitting the tags filter in the on: section. Once this is merged I will run the workflow on our latest release, which should also upload to the real PyPI.

Time estimate

10 min

@jenhagg jenhagg self-assigned this Aug 18, 2021
Copy link
Contributor

@kasparm kasparm left a comment

Choose a reason for hiding this comment

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

LGTM thanks.

@jenhagg jenhagg merged commit e6afa4d into develop Aug 18, 2021
@jenhagg jenhagg deleted the jon/pypi branch August 18, 2021 21:30
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.

2 participants