-
Notifications
You must be signed in to change notification settings - Fork 365
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
855a8dd
commit 7a2b15d
Showing
5 changed files
with
35 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Release workflow | ||
|
||
1. Clone new copy of repository: | ||
```sh | ||
git clone [email protected]:jupyter-widgets/ipyleaflet.git | ||
``` | ||
2. Update the version numbers in the following files (see https://github.com/jupyter-widgets/ipyleaflet/commit/48f3cb68cd07e6c4ae7b353a17861e4e51ca4471) | ||
- `ipyleaflet/_version.py` (two places) | ||
- `js/package.json` | ||
- `environment.yml` | ||
3. Make sure the changelog is updated: `CHANGELOG.md` | ||
4. Build and publish to npm (if yarn prompts for the new version, I give the same as what is already in the `package.json`) | ||
```sh | ||
cd js | ||
yarn install && yarn run build && yarn publish | ||
cd .. | ||
``` | ||
5. Build and publish Python package | ||
```sh | ||
python -m build | ||
twine upload dist/* | ||
``` | ||
6. Update environment environment config with new ipyleaflet pypi download link: `docs/jupyterlite_config.json` | ||
7. Commit and push in git | ||
```sh | ||
git commit -am "Release <VERSION>" | ||
git tag <VERSION> | ||
git push origin master --tags | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters