feat: add version task
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
[presets.git]
|
||||
conditions = ["{{ '.git/config' | file }}"]
|
||||
|
||||
[presets.git.tasks.version.git]
|
||||
priority = -1
|
||||
conditions = ["{{ version }}"]
|
||||
commands = [
|
||||
"git add .",
|
||||
"git commit -m 'ci(version): {{ version }}'",
|
||||
"git tag '{{ version }}'",
|
||||
]
|
||||
Reference in New Issue
Block a user