You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/dev_release.md
+23-1Lines changed: 23 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,11 +48,25 @@ git pull origin 7.x
48
48
git reset --hard origin/7.x
49
49
git clean -fdx
50
50
jlpm install
51
-
npm publish
51
+
yarn publish
52
52
```
53
53
54
54
Lerna will prompt you for version numbers for each of the changed npm packages. Lerna will then change the versions appropriately (including the interdependency versions), commit, tag, and publish the new packages to npm.
55
55
56
+
### Fix NPM tags!!!
57
+
58
+
NPM is stupid, it can't see you just published versions that are prior to the latest (You are on the 7.x branch, so not publishing the latest of ipywidgets packages). It will mark your packages as "latest", this will have the impact of breaking users flow because e.g. they will now pull an outdated html-manager in nbconvert.
59
+
60
+
You need to fix the tags for all the packages you just publish with e.g. (PLEASE VERIFY VERSION NUMBERS, CHECKING THE ACTUAL LATEST):
Go into the `jupyterlab_widgets` directory. Change `jupyterlab_widgets/_version.py` to reflect the new version number.
@@ -112,6 +126,14 @@ Using the above script, you can do:
112
126
./scripts/hashes jupyterlab_widgets/dist/*
113
127
```
114
128
129
+
Or when using Fedora:
130
+
131
+
```
132
+
./scripts/hashes_fedora dist/*
133
+
./scripts/hashes_fedora widgetsnbextension/dist/*
134
+
./scripts/hashes_fedora jupyterlab_widgets/dist/*
135
+
```
136
+
115
137
Commit the changes you've made above, and include the uploaded files hashes in the commit message. Tag the release if ipywidgets was released. Push to origin 7.x (and include the tag in the push).
0 commit comments