Skip to content

Commit

Permalink
Temporarily update docs for building dist correctly
Browse files Browse the repository at this point in the history
Broken by f4700f9
  • Loading branch information
Stuk committed Aug 5, 2021
1 parent e5b3f0d commit 81cb5eb
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions documentation/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,14 @@ If you have tested bug fixes or new features, you can open a

## Releasing a new version

1. Run `npm test`
1. In `package.json` temporarily change `"./lib/index"` to `"."`
2. Run `npm test`
* Locally open http://localhost:8080/test/
* Or use the SauceLabs configuration above
2. Update `JSZip.version` in `index.js` and in `package.json`
3. Run `grunt` to generate the new dist files
3. Update `JSZip.version` in `index.js` and in `package.json`
4. Run `grunt` to generate the new dist files
* undo the package.json change, it was just needed to replace the `__VERSION__` in the header
4. Update CHANGES.md
5. Run `npm version ...` where `...` is `major`, `minor`, or `patch`
6. Run npm publish
5. Undo step 1.
6. Update CHANGES.md
7. Run `npm version ...` where `...` is `major`, `minor`, or `patch`
8. Run npm publish

0 comments on commit 81cb5eb

Please sign in to comment.