File size: 648 Bytes
cf2d372
 
 
 
 
e8ab6bd
cf2d372
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tasks.build]
description = "Build the package"
run = "rm -rf dist/ && uv build"

[tasks.publish]
depends = ["build"]
description = "Publish the package"
run = "uv publish"

[tasks.bump]
description = "Bump the version (usage: mise run bump [patch|minor|major])"
run = "uv run --group maintain bump-my-version bump {{ arg(i=0, name='part', default='patch') }} --verbose"

[tasks."bump-dry"]
description = "Dry-run version bump"
run = "uv run --group maintain bump-my-version bump {{ arg(i=0, name='part', default='patch') }} --dry-run --verbose --allow-dirty"

[tasks.push]
description = "Push commits and tags"
run = "git push && git push --tags"