Skip to content

Commit 1f631b0

Browse files
committedMar 30, 2022
Update contributing
1 parent 459ff79 commit 1f631b0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎documentation/contributing.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -63,14 +63,15 @@ If you have tested bug fixes or new features, you can open a
6363

6464
## Releasing a new version
6565

66-
1. In `package.json` temporarily change `"./lib/index"` to `"."`
66+
1. In `package.json` temporarily remove `browser["./lib/index"]`.
6767
2. Run `npm test`
6868
* Locally open http://localhost:8080/test/
6969
* Or use the SauceLabs configuration above
7070
3. Update `JSZip.version` in `index.js` and in `package.json`
7171
4. Run `grunt` to generate the new dist files
7272
* undo the package.json change, it was just needed to replace the `__VERSION__` in the header
73-
5. Undo step 1.
73+
5. Undo step 1. and change version back.
7474
6. Update CHANGES.md
75+
6. Commit the appropriate changes
7576
7. Run `npm version ...` where `...` is `major`, `minor`, or `patch`
7677
8. Run npm publish

0 commit comments

Comments
 (0)
Please sign in to comment.