Skip to content

Conversation

@milas
Copy link
Contributor

@milas milas commented Jul 28, 2022

GitHub Actions workflow to create a release: will upload to PyPI
and create a GitHub release with the sdist and bdist_wheel
as well.

The version code is switched to setuptools_scm to work well
with this flow (e.g. avoid needing to write a script that does
a sed on the version file and commits as part of release).

GitHub Actions workflow to create a release: will upload to PyPI and create a GitHub release with the `sdist` and `bdist_wheel` as well. The version code is switched to `setuptools_scm` to work well with this flow (e.g. avoid needing to write a script that does a `sed` on the version file and commits as part of release). Signed-off-by: Milas Bowman <milas.bowman@docker.com>
@milas milas requested a review from a team July 28, 2022 16:08
@milas milas self-assigned this Jul 28, 2022
Signed-off-by: Milas Bowman <milas.bowman@docker.com>
Copy link
Member

@nicksieger nicksieger left a comment

Choose a reason for hiding this comment

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

Mostly LGTM, the setuptools_scm stuff is opaque to me so I assume you've got it right and it's working.

@milas
Copy link
Contributor Author

milas commented Jul 29, 2022

the setuptools_scm stuff is opaque to me so I assume you've got it right and it's working

Ha yeah everything is pretty much lifted straight from their docs! It's funky but less crazy than most other solutions I've seen (and is "blessed" by pypa that maintains pip etc)

@milas milas merged commit cd2c35a into docker:main Jul 30, 2022
@milas milas deleted the ci-release branch July 30, 2022 16:14
@milas milas added this to the 6.0.0 milestone Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants