ProvableHQ / sdk

A Software Development Kit (SDK) for Zero-Knowledge Transactions
https://provable.tools
GNU General Public License v3.0
593 stars 471 forks source link

Adding in change-version and deploy scripts #931

Closed Pauan closed 2 months ago

Pauan commented 2 months ago

Currently, when releasing a new version, we have to manually update the version of multiple packages, and then update all of the templates, and manually do an npm publish.

This is a lot of work, and it's easy to make a mistake.

So this PR adds in a new yarn change-version and yarn deploy commands, which automates the entire process.

Now it's possible to release a new version by doing this:

yarn change-version 0.7.0
yarn deploy