Pkg: Release with github releases

Created on 29 Apr 2017  路  4Comments  路  Source: vercel/pkg

It would be awesome to set up github releases for the project in order to work well with other package managers (like homebrew and such).

Most helpful comment

We'll do this from now on, of course (here)! 馃槈

All 4 comments

Can you give an example of such GHR setup? pkg is npm package and requires node.js to run, how do you want to install it via homebrew?

Can't you compile pkg with pkg? :)

@igorklopov now-cli I believe is an example of how this is used, and I believe pkg is used to package it (only an assumption, I have no evidence of this). I'm not sure how they set it up, but it made it easy to target the releases to install via homebrew.

Homebrew doesn't need to be a release target for this project. I'm fine maintaining my own. One of the reasons I like to use Homebrew (or other package managers) for my global node modules is because I use nvm to switch between node versions a lot. I am changing and installing new/old versions of node at least weekly, sometimes daily. If I install global packages via npm, they stay with their version of node. So if I happened to switch to a version of node that I haven't install pkg or now on, I have to reinstall it. There are ways to sync those packages across versions, but it's either a semi-manual process or it installs duplicates, and upgrading one version to the latest doesn't update any of the other installations. I would prefer to install it once, and upgrade it once.

But like I said, this project doesn't need to attempt be compatible with Homebrew, but standard github releases might be nice to enable distribution.

We'll do this from now on, of course (here)! 馃槈

Was this page helpful?
0 / 5 - 0 ratings

Related issues

gillez picture gillez  路  4Comments

Nisthar picture Nisthar  路  4Comments

serzhiio picture serzhiio  路  3Comments

Araknos picture Araknos  路  4Comments

asaf050 picture asaf050  路  3Comments