ramasilveyra / gitpkg

Publish packages as git tags
MIT License
274 stars 28 forks source link

Commit build directory to git? #11

Closed sramam closed 5 years ago

sramam commented 6 years ago

@ramasilveyra , Would you be open to committing the ./build directory to the repo? Currently, npm installing https://github.com/sramam/gitpgkg (with my fixes for #9) doesn't work.

I need to copy the build directory over manually from a local install.

ramasilveyra commented 6 years ago

Hello! I'm not a fan of commiting build files, I prefer to use the prepublish npm script.

Using gitpkg publish to publish your fork it should create a git tag with the build files, take a look to https://github.com/ramasilveyra/public-registry/tree/gitpkg-v1.0.0-beta.1-gitpkg.

What I know that is failing is publishing to git https urls like https://github.com/ramasilveyra/public-registry.git due to git asking for input for the username and password. Is this your case?