Skip to content

add tag-based release workflow - #36

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

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

Conversation

@thrau

@thrauthrau commented Apr 2, 2026

Copy link
Copy Markdown
Contributor

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 ownerApril 2, 2026 11:05
@thrau

thrau commented Apr 2, 2026

Copy link
Copy Markdown
ContributorAuthor

should rebased after #37 and #38 have been merged

@thrau
thrauforce-pushed the tag-based-releases branch from 55ee7e4 to 303ae5fCompareApril 2, 2026 15:19

@bentskubentsku left a comment

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.

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!

Comment threadMakefile
$(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

@thrauthrauApr 2, 2026

Copy link
Copy Markdown
ContributorAuthor

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.

Comment thread.github/workflows/build.yml Outdated
@thrau
thrau merged commit 0071a79 into mainApr 2, 2026
6 checks passed
@thrau
thrau deleted the tag-based-releases branch April 2, 2026 23:03
@thrauthrau mentioned this pull request Apr 2, 2026
Sign up for freeto 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

@thrau@bentsku