Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  New publishing & build instructions
  • Loading branch information
msalihaltun committed May 28, 2021
1 parent 33be2d9 commit deada2c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -580,10 +580,14 @@ In plain JS you do not need to require the libraries you just need to register s

## Publishing instructions

This project is set up to automatically be published to npm. To publish:

1. Set the version number environment variable: `export VERSION=1.2.3`
2. Publish: `gulp publish`
This project is set up to automatically be published to npm and bower. To publish:

1. Build : `npm run build`
1. Commit the build : `git commit -am "Build for release"`
1. Bump the version number and tag: `npm version major|minor|patch`
1. Push to origin: `git push && git push --tags`
1. Publish to npm: `npm publish .`
1. If publishing to bower for the first time, you'll need to run `bower register sbgnviz https://github.com/iVis-at-Bilkent/sbgnviz.js.git`

## Credits

Expand Down

0 comments on commit deada2c

Please sign in to comment.