colipri / mise.toml
fepegar's picture
Fix mise tasks
e8ab6bd
Raw
History Blame Contribute Delete
648 Bytes
[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"