File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 39
39
git config --global user.name "$(gh api /users/${GITHUB_ACTOR} | jq .name -r)"
40
40
git config -l
41
41
- name : Install Python
42
- uses : actions/setup-python@v5.4.0
42
+ uses : actions/setup-python@v5
43
43
with :
44
44
python-version : ' 3.12'
45
+ cache : ' pip'
45
46
- name : Install bump-my-version
46
47
shell : bash
47
48
run : pip install "bump-my-version==1.0.2"
50
51
shell : bash
51
52
run : |
52
53
echo "previous-version=$(bump-my-version show current_version)" >> $GITHUB_OUTPUT
53
-
54
+
54
55
bump-my-version bump ${{ inputs.args }}
55
56
([[ $? -gt 0 ]] && echo "bumped=false" || echo "bumped=true") >> $GITHUB_OUTPUT
56
57
echo "current-version=$(bump-my-version show current_version)" >> $GITHUB_OUTPUT
Original file line number Diff line number Diff line change @@ -262,6 +262,10 @@ commit = true
262
262
commit_args = " --no-verify"
263
263
tag = true
264
264
tag_name = " {new_version}"
265
+ moveable_tags = [
266
+ " v{new_major}" ,
267
+ " v{new_major}.{new_minor}" ,
268
+ ]
265
269
allow_dirty = true
266
270
parse = " (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<patch>\\ d+)(\\ .(?P<dev>post)\\ d+\\ .dev\\ d+)?"
267
271
serialize = [
You can’t perform that action at this time.
0 commit comments