The release process for Bitvavo SDK for Node.js is semi-automatic. You manually start the GitHub Action that creates the SDK package and uploads it to npmjs.
To release the SDK you need to:
- Complete the instructions in the README Prerequisites
- Clone https://github.com/bitvavo/node-bitvavo-api to your development device
To update the SDK and publish your changes to the Bitvavo developer community:
-
Make your updates to the SDK
Create a branch and implement your changes to the SDK.
-
Test the package
- Run the smoke tests in
<repo-root>/example/testApi.js
- When your code passes the smoke tests, make a pull request
to the
master
branch.
- Run the smoke tests in
-
Publish the SDK
-
When your pull request is approved, merge your changes to the
master
branch. -
Note the release number of the latest version of the SDK published to npmjs and using semver as your guide, decide on a version number for this release.
-
In Actions, run the release action using your new release number.
-
Open the draft release created when you ran the release action.
-
Add a brief description about the release.
This description is visible to the world in https://github.com/bitvavo/node-bitvavo-api/releases.
-
Click Publish.
This starts the Publish action. You see the new version available on npmjs.
-
Now send the release message in Slack, yay.