File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -30,27 +30,35 @@ To publish or create a prerelease:
30302 . Bump version numbers in ` package.json ` , update the ` CHANGELOG.md ` , and make a pull request
31313 . Once the pull request is merged into master:
32324 . Build
33- ``` npm run build:all ```
33+ ```
34+ npm run build:all
35+ ```
34365 . Create distribution tarball
35- ``` python setup.py sdist ```
37+ ```
38+ python setup.py sdist
39+ ```
36406 . Copy the tarball into a separate folder and try to install it and run the examples:
37- ``` cp dist/dash-cytoscape-0.0.1.tar.gz ../temp
41+ ```
42+ cp dist/dash-cytoscape-0.0.1.tar.gz ../temp
3843cp usage.py ../temp
3944cd ../temp
4045source venv/bin/activate
4146pip install dash-cytoscape-0.0.1.tar.gz
4247python usage.py
4348```
44497 . If the examples work, then publish:
45- ``` npm publish
50+ ```
51+ npm publish
4652twine upload dist/dash-cytoscape-0.0.1.tar.gz
4753```
48548 . Tag your release with git:
49- ``` git tag -a 'v0.0.1' -m 'v0.0.1'
55+ ```
56+ git tag -a 'v0.0.1' -m 'v0.0.1'
5057git push origin master --follow-tags
5158```
52599 . Verify that the publish worked by installing it:
53- ``` cd ../temp
60+ ```
61+ cd ../temp
5462pip install dash-cytoscape==0.0.1
5563python usage.py
5664```
You can’t perform that action at this time.
0 commit comments