-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Add release workflow #961
Add release workflow #961
Conversation
build-backend = "maturin" | ||
|
||
[project] | ||
name = "puffin-alpha" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So this would publish a binary named puffin
to the PyPI package puffin-alpha
. (puffin
is taken, and it doesn't really matter what we use in the interim.)
@@ -0,0 +1,220 @@ | |||
# Copyright 2022-2023, axodotdev |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(Generated file.)
pyproject.toml
Outdated
requires-python = ">=3.7" | ||
keywords = [] | ||
classifiers = [] | ||
urls = {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we want to publish this (stealthily) to PyPI, we need to remove the URLs and authors from the Cargo.toml
(they're picked up by Maturin).
24b16d6
to
e5f0647
Compare
I created an alt for PyPI to publish under: https://pypi.org/user/whiskeyjack/. Do folks think it's worth publishing? I suspect it is. |
e5f0647
to
85d3701
Compare
with: | ||
python-version: ${{ env.PYTHON_VERSION }} | ||
- name: "Prep README.md" | ||
run: echo "# Puffin" > README.md |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentionally omitting the README for stealthy PyPI.
Sounds great to publish |
a93daf0
to
ee297ab
Compare
215fdf5
to
52ffe4b
Compare
This reverts commit a348347.
52ffe4b
to
410fc5b
Compare
Summary
This PR adds a release workflow powered by
cargo-dist
. It's similar to the version that's PR'd in Ruff (astral-sh/ruff#9559), with the exception that it doesn't include the Docker build or the "update dependents" step for pre-commit.