Skip to content

Conversation

@mistydemeo
Copy link
Contributor

@mistydemeo mistydemeo commented Apr 23, 2025

This adds a tag-to-release Actions config based around uv.

This is triggered by pushing a tag with a new version; it will automatically kick off this job, which will publish the new version to PyPI on completion. We can push that tag from a PR or directly to master.

At the moment, this doesn't do anything to automatically create a GitHub release from the tag; we can do that manually for now. We don't currently have in-repo release notes for us to build an automated release from so this would be a largely manual process anyway.

We don't need to provide a token to uv to publish; instead, we just need to configure the repo for PyPI access using this: https://docs.pypi.org/trusted-publishers/adding-a-publisher/

cc @vbanos

This adds a tag-to-release Actions config based around uv.

This is triggered by pushing a tag with a new version; it will
automatically kick off this job, which will publish the new
version to PyPI on completion. We can push that tag from a PR
or directly to master.

At the moment, this doesn't do anything to automatically create
a GitHub release from the tag; we can do that manually for now,
but if we're interested I can add something to automatically
generate the release too.

We don't need to provide a token to uv to publish; instead, we
just need to configure the repo for PyPI access using this:
https://docs.pypi.org/trusted-publishers/adding-a-publisher/
@mistydemeo mistydemeo merged commit b3fbdce into internetarchive:master May 8, 2025
4 checks passed
@mistydemeo mistydemeo deleted the misty/add_github_actions_release branch May 8, 2025 22:31
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