File tree Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Expand file tree Collapse file tree 1 file changed +17
-15
lines changed Original file line number Diff line number Diff line change 1
- - To release a new version of ipympl on PyPI:
1
+ To release a new version of ipympl on PyPI:
2
2
3
- # nuke the ` dist ` and ` node_modules `
4
- git clean -fdx
3
+ In your local copy of the repo
5
4
6
- Update _ version.py (set release version, remove 'dev')
7
- git add and git commit
8
- python setup.py sdist upload
9
- python setup.py bdist_wheel upload
10
- git tag -a X.X.X -m 'comment'
11
- Update _ version.py (add 'dev' and increment minor)
12
- git add and git commit
13
- git push
14
- git push --tags
5
+ 1 . Switch to the ` main ` branch
6
+ 2 . Update relevant files
7
+ - ` ipympl/_version.py `
8
+ - ` src/version.ts `
9
+ - The table in the README
10
+ - The table in ` docs/installing.md `
11
+ 3 . ` git commit -m "release X.Y.Z" `
12
+ 4 . ` git push upstream main `
15
13
16
- - To release a new version of jupyter-matplotlib on NPM:
17
- npm install
18
- npm publish
14
+ Then go to github and draft a new release: https://github.com/matplotlib/ipympl/releases/new
15
+
16
+ In the "Choose a tag" dropdown enter the to be released version and allow it to auto create the tag.
17
+
18
+ Give the release a title + fill in release details.
19
+
20
+ Publish - it should now upload automatically to both pypi and npm.
You can’t perform that action at this time.
0 commit comments