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

Release 2023.7.28. #309

Merged
merged 1 commit into from
Jul 29, 2023
Merged

Release 2023.7.28. #309

merged 1 commit into from
Jul 29, 2023

Conversation

dhermes
Copy link
Owner

@dhermes dhermes commented Jul 29, 2023

I made sure the templates are populated correctly via:

$ python scripts/doc_template_release.py
Linux GitHub Actions Run ID: 5698156661
Windows GitHub Actions Run ID: 5698156662
Coveralls Build ID: 61654285
macOS GitHub Actions Run ID: 5698156663

I'll be using this PR to post comments about the release process (for audit purposes).

I made sure the templates are populated correctly via:

```
$ python scripts/doc_template_release.py
Linux GitHub Actions Run ID: 5698156661
Windows GitHub Actions Run ID: 5698156662
Coveralls Build ID: 61654285
macOS GitHub Actions Run ID: 5698156663
```
@dhermes dhermes merged commit 7cbae0d into main Jul 29, 2023
@dhermes dhermes deleted the release-2023.7.28 branch July 29, 2023 03:03
@dhermes
Copy link
Owner Author

dhermes commented Jul 31, 2023

Built all wheels via: https://github.com/dhermes/bezier/actions/runs/5698203617

The remaining wheels were built on my dev machine (M1) via: scripts/macos/build-wheels-arm.sh.

@dhermes
Copy link
Owner Author

dhermes commented Jul 31, 2023

To upload, I made a ~/.pypirc for TestPyPI

[distutils]
  index-servers =
    testpypi

[testpypi]
  username = __token__
  password = pypi-Ag...

and another one for "production" PyPI

[distutils]
  index-servers =
    pypi

[pypi]
  username = __token__
  password = pypi-Ag...

I downloaded all the files and put them in a shared artifacts directory, then uploaded via:

$ twine upload --repository testpypi *
$ twine upload --repository pypi *

depending on the "current" contents of ~/.pypirc. Note that it's possible to have both repositories present at once, but I elected not to (and immediately deleted ~/.pypirc after) to reduce the surface area for possible mistakes.

@dhermes
Copy link
Owner Author

dhermes commented Jul 31, 2023

As part of the upload process, I also tagged the commit and pushed the tag:

git tag 2023.7.28
git push origin 2023.7.28

To make the actual release (https://github.com/dhermes/bezier/releases/tag/2023.7.28) in Markdown, I used pandoc to convert:

$ cd docs/releases/
$ pandoc --standalone --output latest.md latest.rst

Even still it is imperfect because of line wrapping, so I manually edited the output (latest.md) to just make every line VERY long (instead of doing line wrapping).

This was referenced Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant