File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : " 3"
2
+
3
+ vars :
4
+ package_name : " mkdocs-obsidian-wikilinks"
5
+ pyproject_dir : " {{.Taskfile.Dir}}"
6
+
7
+ tasks :
8
+ default :
9
+ desc : " Run the full release process"
10
+ cmds :
11
+ - task : release
12
+
13
+ clean :
14
+ desc : " Clean up old build files"
15
+ cmds :
16
+ - echo "Cleaning build directories..."
17
+ - rm -r -Force {{pyproject_dir}}/dist {{pyproject_dir}}/*.egg-info {{pyproject_dir}}/.pytest_cache
18
+
19
+ version :
20
+ desc : " Run semantic-release to determine and bump the version"
21
+ cmds :
22
+ - echo "Running semantic-release to bump the version..."
23
+ - uv run semantic_release version
24
+
25
+ build :
26
+ desc : " Build the Python package"
27
+ cmds :
28
+ - echo "Building the package..."
29
+ - uv build
30
+
31
+ publish :
32
+ desc : " Publish the package to PyPI"
33
+ cmds :
34
+ - echo "Publishing {{package_name}} to PyPI..."
35
+ - uv run semantic_release publish
36
+
37
+ watch :
38
+ desc : " Start the Watchdog with custom paths"
39
+ vars :
40
+ package_path : " mkdocs-obsidian-wikilinks"
41
+ mkdocs_path : " ../mara-li"
42
+ cmds :
43
+ - echo "Starting Watchdog for {{package_path}} with MkDocs at {{mkdocs_path}}..."
44
+ - uv python watch.py {{package_path}} {{mkdocs_path}}
45
+
46
+ release :
47
+ desc : " Perform a full release: version bump, build, and publish"
48
+ cmds :
49
+ - task : clean
50
+ - task : version
51
+ - task : build
52
+ - task : publish
You can’t perform that action at this time.
0 commit comments