File tree Expand file tree Collapse file tree 3 files changed +15
-7
lines changed
Expand file tree Collapse file tree 3 files changed +15
-7
lines changed Original file line number Diff line number Diff line change 11[tool .bumpversion ]
2- current_version = " 0.1 .0"
2+ current_version = " 0.0 .0"
33parse = " (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<patch>\\ d+)"
44serialize = [" {major}.{minor}.{patch}" ]
55search = " {current_version}"
66replace = " {new_version}"
77regex = false
88ignore_missing_version = false
99ignore_missing_files = false
10- tag = false
10+ tag = true
1111sign_tags = false
1212tag_name = " v{new_version}"
1313tag_message = " Bump version: {current_version} → {new_version}"
1414allow_dirty = false
15- commit = false
16- message = " Bump version: {current_version} → {new_version}"
17- moveable_tags = []
15+ commit = true
16+ message = " 🥳 Bump version 📣 – {current_version} → {new_version}"
1817commit_args = " "
1918setup_hooks = []
2019pre_commit_hooks = []
2120post_commit_hooks = []
21+ moveable_tags = []
22+
23+ [[tool .bumpversion .files ]]
24+ filename = " pyproject.toml"
25+ search = " version = \" {current_version}\" "
26+ replace = " version = \" {new_version}\" "
Original file line number Diff line number Diff line change @@ -19,14 +19,17 @@ jobs:
1919 steps :
2020 - name : Checkout the code
2121 uses : actions/checkout@v4
22+ with :
23+ fetch-depth : 0
2224
2325 - name : Bump version
2426 id : bump
2527 uses : callowayproject/bump-my-version@master
2628 env :
2729 BUMPVERSION_TAG : " true"
2830 with :
29- args : ${{ inputs.bump-type }}
31+ args : ${{ inputs.bump-type }} --config-file .bumpversion.toml
32+ github-token : ${{ secrets.GH_TOKEN }}
3033
3134 - name : Check
3235 if : steps.bump.outputs.bumped == 'true'
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ license = {text = "MIT"}
1313readme = " README.md"
1414requires-python = " >=3.10"
1515keywords = []
16- dynamic = [ " version " ]
16+ version = " 0.0.0 "
1717classifiers = [
1818 " Development Status :: 4 - Beta" ,
1919 " Intended Audience :: Developers" ,
You can’t perform that action at this time.
0 commit comments