Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit cf1ab44

Browse files
Update release.md
1 parent a5bfd87 commit cf1ab44

File tree

1 file changed

+16
-10
lines changed

1 file changed

+16
-10
lines changed

release.md

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ specified below.
6868
+ Ensure you're using `node` version 12 and `npm` version 6 to minimize diffs to `package-lock.json`
6969
+ Run `rm -rf node_modules && npm install && npm run build`
7070
- `packages/javascript/jupyterlab-plotly/package.json`
71+
+ Ensure the version of `plotly.js` matches the one in `plotlywidget`
7172
+ Update `"version"` to `X.Y.Z-rc.1`
7273
+ Ensure you're using `node` version 12 and `npm` version 6 to minimize diffs to `package-lock.json`
7374
+ Run `rm -rf node_modules && npm install && npm run build`
@@ -191,6 +192,7 @@ release candidate suffix from the following version strings:
191192
+ Ensure you're using `node` version 12 and `npm` version 6 to minimize diffs to `package-lock.json`
192193
+ Run `rm -rf node_modules && npm install && npm run build`
193194
- `packages/javascript/jupyterlab-plotly/package.json`
195+
+ Ensure the version of `plotly.js` matches the one in `plotlywidget`
194196
+ Update `"version"` to `X.Y.Z`
195197
+ Ensure you're using `node` version 12 and `npm` version 6 to minimize diffs to `package-lock.json`
196198
+ Run `rm -rf node_modules && npm install && npm run build`
@@ -270,18 +272,22 @@ Make "Release title" the same string as the tag.
270272

271273
Copy changelog section for this version as the "Describe this release"
272274

273-
### Upgrade doc requirements and API doc
275+
### Update documentation site
274276

275-
Files to be updated:
276-
- `doc/apidoc/conf.py` with new version number
277-
- `doc/requirements.txt`
278-
- `binder/requirements.txt`
279-
280-
### Synchronize master and doc-prod branches
281-
282-
doc-prod should already have been merged on a regular basis into master, but
283-
start doing it first. Then merge master into doc-prod to deploy the doc related
277+
1. Search for the previous version string in the docs and replace it with the new version string, including but not necessarily limited to the following files:
278+
- `README.md`
279+
- `doc/python/getting-started.md`
280+
- `doc/apidoc/conf.py`
281+
- `doc/requirements.txt`
282+
- `binder/requirements.txt`
283+
2. `doc-prod` should already have been merged on a regular basis into `master`, but
284+
start by doing it first if not. Then merge `master` into `doc-prod` to deploy the doc related
284285
to features in the release.
286+
3. in a clone of the [`graphing-library-docs` repo](https://github.com/plotly/graphing-library-docs):
287+
1. bump the version of Plotly.js with `cd _data && python get_plotschema.py` fixing any errors that come up
288+
2. rebuild the Algolia `schema` index with `ALGOLIA_API_KEY=<key> make update_ref_search`
289+
3. Rebuild the Algolia `python` index with `ALGOLIA_API_KEY=<key> make update_python_search`
290+
4. Commit and push the changes to `master` in that repo
285291

286292
### Post announcement
287293

0 commit comments

Comments
 (0)