Development of MinIO JS SDK require nodejs14+ and npm7+.
Go through Maintainer Responsibility Guide.
Clone minio-js source repository locally.
$ git clone [email protected]:minio/minio-js
$ cd minio-js
$ npm install
$ npm test
Edit package.json
version and all other files to the latest version as shown below.
$ git grep 3.2.0 | cut -f1 -d: | xargs sed s/3.2.0/3.2.1/g -i
$ grep version package.json
"version": "3.2.1",
$ git commit -a -m "Bump to 3.2.1 release"
Login to your npm account.
$ npm login
...
Logged in as minio on https://registry.npmjs.org/.
Build for release
$ npm run build
Publish the new release to npm repository.
$ npm publish
Tag and sign your release commit, additionally this step requires you to have access to MinIO's trusted private key.
$ export GNUPGHOME=/media/${USER}/minio/trusted
$ git tag -s 3.2.1
$ git push
$ git push --tags
Announce new release by adding release notes at https://github.com/minio/minio-js/releases from [email protected]
account. Release notes requires two sections highlights
and changelog
. Highlights is a bulleted list of salient features in this release and Changelog contains list of all commits since the last release.
To generate changelog
git log --no-color --pretty=format:'-%d %s (%cr) <%an>' <last_release_tag>..<latest_release_tag>