Skip to content

feat(workflow): auto release on tag creation#81

Merged
charliermarsh merged 1 commit intoastral-sh:mainfrom
CoderJoshDK:auto-release
Mar 30, 2024
Merged

feat(workflow): auto release on tag creation#81
charliermarsh merged 1 commit intoastral-sh:mainfrom
CoderJoshDK:auto-release

Conversation

@CoderJoshDK
Copy link
Contributor

Summary

Add a GitHub workflow for creating a new release, automatically, when a new tag is created.

This solves #78. The code is very similar to the changes added in astral-sh/uv-pre-commit#6

The primary difference, is that the URL points to ruff and this one checks for if the tag starts with a v, but it is optional. This lets you change ruff versions to not have a v in the future. Although the mirror.py will need to be updated.
Speaking of updates to mirror.py, I ran ruff on it and updated the subprocess to raise an error on failure.

Test Plan

Locally tested.

Copy link
Member

@zanieb zanieb left a comment

Choose a reason for hiding this comment

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

Thank you!

@charliermarsh charliermarsh merged commit 53e3b33 into astral-sh:main Mar 30, 2024
@CoderJoshDK CoderJoshDK deleted the auto-release branch March 30, 2024 23:21
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.

4 participants