File tree Expand file tree Collapse file tree 1 file changed +13
-8
lines changed
Expand file tree Collapse file tree 1 file changed +13
-8
lines changed Original file line number Diff line number Diff line change 1- .PHONY : docs build bump-minor bump-major publish publish-test
1+ .PHONY : bump-minor bump-major build publish publish-test
22
3- build :
4- rm -rf dist/
5- uv build
3+ define commit-tag-push
4+ git add . && git commit
5+ git tag $$(uv version )
6+ @git show HEAD
7+ @read -p "Push to remote? [y/N] " confirm && [ "$$confirm" = "y" ] && git push --follow-tags || echo "Skipped push."
8+ endef
69
710bump-minor :
811 uv version --bump minor
9- git add . && git commit
10- @read -p " Push to remote? [y/N] " confirm && [ " $$ confirm" = " y" ] && git push || echo " Skipped push."
12+ $(commit-tag-push )
1113
1214bump-major :
1315 uv version --bump major
14- git add . && git commit
15- @read -p " Push to remote? [y/N] " confirm && [ " $$ confirm" = " y" ] && git push || echo " Skipped push."
16+ $(commit-tag-push )
17+
18+ build :
19+ rm -rf dist/
20+ uv build
1621
1722publish :
1823 uv publish
You can’t perform that action at this time.
0 commit comments