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: RELEASES.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,13 +13,13 @@ pip install bumpversion
13
13
```
14
14
bumpversion major|minor|patch
15
15
git push origin master
16
-
git push --tags
16
+
git push origin --tags
17
17
python setup.py publish
18
18
```
19
19
20
20
`bumpversion *` will update the version field appropriately, create a git commit and tag for the version, and publish the tag to github.
21
-
`git push --tags` will publish the tag to github., and then immediately.
22
21
`git push origin master` will publish the changes to package.json.
22
+
`git push origin --tags` will publish the tag to github., and then immediately.
23
23
`python setup.py publish` will publish the module to pypi.
24
24
25
25
The reason for this is that it allows someone to easily view the source code (and readme) for whatever version they happen to have downloaded from pypi. This is particularly helpful when github is ahead of pypi.
0 commit comments