Skip to content

Commit

Permalink
Changed to use the minor version instead of patch version
Browse files Browse the repository at this point in the history
  • Loading branch information
dpgrote committed Nov 28, 2022
1 parent bbff85a commit 448e945
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions PICMI_Python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,15 @@ be updated. The update has several steps, updating the version number, adding a
of PyPI.

Currently, the version number is modified by hand by modifying the number in the version.py file, incrementing the second
number, the minor release version. After changing the file, make a commit with the change with a comment like "Version 0.0.22",
number, the minor release version. After changing the file, make a commit with the change with a comment like "Version 0.22.0",
updating the version number of course.
Please don't make any other changes in the commit. Note that it is ok to push a version update directly to the main branch assuming
it has been approved.

Next, add a tag and push the changes to the repo:

```
git tag -a 0.0.22 -m "Release 0.0.22"
git tag -a 0.22.0 -m "Release 0.22.0"
git push origin
git push origin --tags
```
Expand Down
2 changes: 1 addition & 1 deletion PICMI_Python/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.22'
__version__ = '0.22.0'

0 comments on commit 448e945

Please sign in to comment.