File tree Expand file tree Collapse file tree 1 file changed +3
-21
lines changed
Expand file tree Collapse file tree 1 file changed +3
-21
lines changed Original file line number Diff line number Diff line change @@ -10,36 +10,18 @@ test:
1010 uv run pytest
1111
1212# does a version bump commit
13- [linux ]
14- bump-commit type = " minor": && create-tag
15- uv version --bump {{ type}}
16- git commit -am " $(uv version | awk '{print $2}' | xargs echo " bump to" )"
17- uv version | awk ' {print $2}' | xargs git tag
18- git push
19- git push --tags
20-
21- # does a version bump commit
22- [windows ]
2313bump-commit type = " minor": && create-tag
2414 uv version --bump {{ type}}
25- git commit -am (" bump to " + (uv version | Select-String -Pattern ' \d+\.\d+\.\d+' | ForEach-Object { $_.Matches.Value } ))
15+ git commit -am (" bump to " + (uv version --short ))
2616 git fetch --tags
27- git tag (uv version | Select-String -Pattern ' \S+' | ForEach-Object { $_.Line.Split( ' ' )[ 1 ] } )
17+ git tag (uv version --short )
2818 git push
2919 git push --tags
3020
3121# creates a new tag for the current version
32- [linux ]
33- create-tag :
34- git fetch --tags
35- uv version | awk ' {print $2}' | xargs git tag
36- git push --tags
37-
38- # creates a new tag for the current version
39- [windows ]
4022create-tag :
4123 git fetch --tags
42- git tag (uv version | Select-String -Pattern ' \S+' | ForEach-Object { $_.Line.Split( ' ' )[ 1 ] } )
24+ git tag (uv version --short )
4325 git push --tags
4426
4527
You can’t perform that action at this time.
0 commit comments