We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 199395f commit 026d2c2Copy full SHA for 026d2c2
1 file changed
mise.toml
@@ -79,6 +79,21 @@ run = "bun run drizzle-kit generate"
79
description = "Apply migrations"
80
run = "bun run drizzle-kit migrate"
81
82
+[tasks.version]
83
+description = "Bump version in both package.json files"
84
+usage = '''
85
+arg "<bump>" help="Version bump type: major, minor, or patch"
86
+'''
87
+run = """
88
+set -e
89
+npm version ${usage_bump} --no-git-tag-version
90
+cd cli && npm version ${usage_bump} --no-git-tag-version
91
+VERSION=$(jq -r .version package.json)
92
+cd ..
93
+echo "Bumped to $VERSION"
94
+echo "Run: git add package.json cli/package.json && git commit -m 'Bump version to $VERSION' && git push"
95
+"""
96
+
97
# CLI tasks
98
[tasks."cli"]
99
description = "Run CLI command"
0 commit comments