Skip to content

Commit 2d8b13f

Browse files
authored
Merge pull request #459 from ianhi/release
update release instructions
2 parents 3a6f3a2 + e56bdab commit 2d8b13f

File tree

1 file changed

+17
-15
lines changed

1 file changed

+17
-15
lines changed

RELEASE.md

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,20 @@
1-
- To release a new version of ipympl on PyPI:
1+
To release a new version of ipympl on PyPI:
22

3-
# nuke the `dist` and `node_modules`
4-
git clean -fdx
3+
In your local copy of the repo
54

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`
1513

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.

0 commit comments

Comments
 (0)