Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create npm run deploy Script to Streamline Package Publishing #440

Open
jonobr1 opened this issue Jan 22, 2020 · 2 comments
Open

Create npm run deploy Script to Streamline Package Publishing #440

jonobr1 opened this issue Jan 22, 2020 · 2 comments
Assignees
Milestone

Comments

@jonobr1
Copy link
Owner

jonobr1 commented Jan 22, 2020

These are currently the steps involved in publishing a new version of Two.js. An npm run publish would greatly increase the ease of publishing and put Two.js on a more regular cycle of publication.

  1. Create new git tag
  2. Add package to Github Packages
  3. Update origin/master
  4. Update npmjs.org
@jonobr1 jonobr1 added this to the v0.8.0 milestone Jan 22, 2020
@jonobr1 jonobr1 self-assigned this Jan 13, 2021
@jonobr1
Copy link
Owner Author

jonobr1 commented Jan 13, 2021

This should really just be a Github Action when tagging commits to specific release versions.

@jonobr1
Copy link
Owner Author

jonobr1 commented Jan 15, 2022

This is essentially two simple npm commands:

  1. npm version minor
  2. npm publish

But, because of Github's Package Registry requires package.json manipulation as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant