Skip to content
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

Create a new github workflow to publish packages to PyPi and homebrew tap repository with new release #16

Merged
merged 1 commit into from
May 2, 2024

Conversation

james03160927
Copy link
Collaborator

More information available https://www.notion.so/drip-art/Experiment-with-brew-packaging-33716af44f1b424894316216e1778ee4?pvs=4.

Python Package Upload

We would have to enter the PyPi token here.

python3 -m pip install --upgrade twine
python3 -m pip install --upgrade build

python3 -m build
python3 -m twine upload dist/*

Homebrew Formula Update

python3 -m venv venv # it needs to be a new virtual environment
source venv/bin/activate
pip install comfy-cli homebrew-pypi-poet
poet -f comfy-cli > comfy-cli.rb

We need to make the changes on the https://github.com/Comfy-Org/homebrew-comfy-cli repository.

@james03160927 james03160927 merged commit b78d940 into main May 2, 2024
4 checks passed
@james03160927 james03160927 deleted the james_publish branch May 2, 2024 00:34
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.

1 participant