Publish static binaries to npm and pypi #6217
kishaningithub
started this conversation in
Ideas, Issue Triage, and General discussions
Replies: 1 comment
-
|
npm is already supported. pypi is on the todo list |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Say i have created a go project which can ship out static binaries. Assuming the static binary is a cross language developer tool, i would like it to be published to npm and pypi. Some examples are below
Example 1 - Publish to npm
https://github.com/amacneil/dbmate
If you notice the above project it produces a static binary which the user can use to perform database migration. The consumer should be able to use it in any language. For example, this project allows its users to do
npm install --save-dev dbmateand have them use this in node js projects. This directory in the project ( https://github.com/amacneil/dbmate/tree/main/typescript ) contains the code to publish dbmate to npm. If this is a feature of goreleaser then this folder can be removed.Example 2 - Publish to pypi
https://github.com/astral-sh/uv
If you notice this is a project which produces static binary which can be
pip install uv. Would like like to have this capability for all languages which can spit out static binaries.Beta Was this translation helpful? Give feedback.
All reactions