Skip to content

Commit 9319037

Browse files
committed
update paths, branch names, tags
1 parent 65a7863 commit 9319037

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

release.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Release process - `plotly-geo` package
1+
## Release process for `plotly-geo` package
22

33
The `plotly-geo` package contains the shape file resources used by plotly.py.
44
These files are relatively large and change infrequently so it is useful
@@ -7,41 +7,40 @@ to release them in a separate package.
77
### Update version
88

99
Update the version of the `plotly-geo` package in
10-
`packages/python/plotly-geo/setup.py`.
10+
`setup.py`.
1111

1212
This version is not intended to match the version of plotly.py.
1313

1414
### Update CHANGELOG
1515

16-
Add a new entry to the CHANGELOG at `packages/python/plotly-geo/CHANGELOG.md`
16+
Add a new entry to the CHANGELOG at `CHANGELOG.md`
1717
and commit the changes.
1818

1919
### Tag Release
2020

21-
Create a new tag for the release
21+
Create a new tag for the release:
2222

2323
```bash
24-
(plotly_dev) $ git checkout master
24+
(plotly_dev) $ git checkout main
2525
(plotly_dev) $ git stash
26-
(plotly_dev) $ git pull origin master
27-
(plotly_dev) $ git tag plotly-geo-vX.Y.Z
28-
(plotly_dev) $ git push origin plotly-geo-vX.Y.Z
26+
(plotly_dev) $ git pull origin main
27+
(plotly_dev) $ git tag vX.Y.Z
28+
(plotly_dev) $ git push origin vX.Y.Z
2929
```
3030

3131
### Publishing to PYPI
3232

33-
Publish the final version to PyPI
33+
Publish the final version to PyPI:
3434

3535
```bash
36-
(plotly_dev) $ cd packages/python/plotly-geo
3736
(plotly_dev) $ python setup.py sdist bdist_wheel
38-
(plotly_dev) $ twine upload dist/plotly-geo-X.Y.Z.tar.gz
37+
(plotly_dev) $ twine upload dist/plotly_geo-X.Y.Z.tar.gz
3938
(plotly_dev) $ twine upload dist/plotly_geo-X.Y.Z-py3-none-any.whl
4039
```
4140

4241
### Publish to plotly anaconda channel
4342

44-
From `packages/python/plotly-geo`, build the conda package
43+
From the repository's root directory, build the conda package:
4544
```bash
4645
(plotly_dev) $ conda build recipe/
4746
```

0 commit comments

Comments
 (0)