Skip to content

add tag-based release workflow#36

Merged
thrau merged 2 commits intomainfrom
tag-based-releases
Apr 2, 2026
Merged

add tag-based release workflow#36
thrau merged 2 commits intomainfrom
tag-based-releases

Conversation

@thrau
Copy link
Copy Markdown
Member

@thrau thrau commented Apr 2, 2026

Motivation

We've been migrating to hatch-vcs and tag-based releasing for our OSS libraries.

Following our user guide for tag-based pypi releases, I made all the necessary changes. I already configured GitHub and PyPI accordingly.

Changes

  • rolo now uses hatch-vcs to compute the version number
  • releases can be made by tagging a commit with vM.m.p and pushing it

@thrau thrau requested a review from bentsku as a code owner April 2, 2026 11:05
@thrau
Copy link
Copy Markdown
Member Author

thrau commented Apr 2, 2026

should rebased after #37 and #38 have been merged

@thrau thrau force-pushed the tag-based-releases branch from 55ee7e4 to 303ae5f Compare April 2, 2026 15:19
Copy link
Copy Markdown
Collaborator

@bentsku bentsku left a comment

Choose a reason for hiding this comment

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

LGTM! Just a few questions but nothing blocking, great to see this! No more tokens and much easier to deploy and less easy to mess up!

$(VENV_ACTIVATE): pyproject.toml
test -d .venv || $(VENV_BIN) .venv
$(VENV_RUN); pip install --upgrade pip setuptools wheel
$(VENV_RUN); pip install --upgrade pip
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

quick question: were were publishing wheels before? and would we stop? feels like we were not

Copy link
Copy Markdown
Member Author

@thrau thrau Apr 2, 2026

Choose a reason for hiding this comment

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

we were indeed publishing wheels (example: https://pypi.org/project/rolo/#rolo-0.8.1-py3-none-any.whl)

we are still publishing them, but now they are built by hatchling, so setuptools and wheel are no longer needed.

@thrau thrau merged commit 0071a79 into main Apr 2, 2026
6 checks passed
@thrau thrau deleted the tag-based-releases branch April 2, 2026 23:03
@thrau thrau mentioned this pull request Apr 2, 2026
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