binpub is a utility which makes republishing binaries easier.
It is extremely fragile right now, and WILL automatically PUSH git repos and PUBLISH npm packages (which is super dangerous, so be warned...).
Steps to setup overarching package:
yarn global add binpub- Create a repo on github, with the desire package name, on the git account that is current setup on your machine (the
git config user.nameaccount). - Create a folder on your machine with the package name
- Navigate to inside that folder
git initgit remote add origin [email protected]:{gitUserName}/{packageName}.gitgit push -u origin masterbinpub init {packageName} --bins {primaryExecutableName} --addFiles {addFileName1} --addFiles {addFileName2}
Steps to add binaries:
binpub add {packageName}
Steps for overarching repo to publish added binaries:
git pullnpm publish
Requirements:
- npm has to be setup to be able to publish (npm adduser).
- git has to be setup to be able to push via ssh, and
git config user.nameandgit config user.emailmust both be set up (git config user.name 'preferred-user-name').