nodejs / gyp-next

A fork of the GYP build system for use in the Node.js projects
BSD 3-Clause "New" or "Revised" License
125 stars 69 forks source link

chore: setup release automation #248

Closed legendecas closed 1 month ago

legendecas commented 2 months ago

Registries included:

Refs: https://packaging.python.org/en/latest/guides/publishing-package-distribution-releases-using-github-actions-ci-cd-workflows/

targos commented 2 months ago

I appreciate the work you put in this, but we're already using release-please to create the release, so I'm surprised you're not adding something to the existing workflow.

legendecas commented 2 months ago

release-please doesn't publish the package to the registry. I'll merge the two workflow so that they can be pipelined. Thanks for the suggestion!

legendecas commented 2 months ago

This is ready for review. I ran it on my own repo and published https://test.pypi.org/project/gyp-next/0.18.0.post1/

cclauss commented 2 months ago

It is a shame that GitHub Packages still lacks support for the Python Packaging Index (PyPI). https://docs.github.com/en/packages/learn-github-packages/introduction-to-github-packages#support-for-package-registries

legendecas commented 2 months ago

Well, yeah, no idea why pypi api isn't supported.

targos commented 1 month ago

@legendecas https://github.com/legendecas/gyp-next/pull/2

legendecas commented 1 month ago

@cclauss @targos would you mind taking a look again? thank you!

targos commented 1 month ago

I'd prefer someone else to review as I did part of the changes and I'm not familiar with the release of Python packages.