File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed
Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1111 rev : v4.4.0
1212 hooks :
1313 - id : end-of-file-fixer
14+ exclude : ' setup.cfg'
1415 - id : trailing-whitespace
1516 exclude : ^docs/
1617 - id : check-case-conflict
Original file line number Diff line number Diff line change @@ -37,16 +37,17 @@ bump2version major
3737
3838``` bash
3939# Add new Version and changelog to History.md
40- # Commit all changes
40+ # Commit all changes and run
4141bump2version --tag release
42-
43- git push
44- git push --tags
42+ # Check if the tag is present
43+ git tags
44+ # Push the changes to GitHub
45+ git push origin < tag_name>
4546
4647```
4748
4849- eg: 0.1.1-dev0 to 0.1.1
49- - To trigger Travis CI build
50+ - To trigger GitHub Actions to push to PyPi
5051- Tags are created
5152
5253# Revert Version and Delete a Tag
Original file line number Diff line number Diff line change @@ -3,14 +3,14 @@ current_version = 1.0.0
33commit = True
44tag = False
55parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+)(?P<build>\d+))?
6- serialize =
6+ serialize =
77 {major}.{minor}.{patch}-{release}{build}
88 {major}.{minor}.{patch}
9-
9+ message = [skip actions] Bump version: {current_version} → {new_version}
1010[bumpversion:part:release]
1111optional_value = prod
1212first_value = dev
13- values =
13+ values =
1414 dev
1515 prod
1616
@@ -38,5 +38,5 @@ test = pytest
3838
3939[tool:pytest]
4040collect_ignore = [' setup.py' ]
41- addopts =
41+ addopts =
4242 --color =yes
You can’t perform that action at this time.
0 commit comments