Skip to content

Latest commit

 

History

History
66 lines (55 loc) · 1.67 KB

MAINTAINERS.md

File metadata and controls

66 lines (55 loc) · 1.67 KB

For maintainers only

Development of MinIO JS SDK require nodejs14+ and npm7+.

Responsibilities

Go through Maintainer Responsibility Guide.

Setup your minio-js Github Repository

Clone minio-js source repository locally.

$ git clone [email protected]:minio/minio-js
$ cd minio-js

Install deps

$ npm install

Testing

$ npm test

Publishing new release

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"

Publish to NPM

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

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

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>