Skip to content

Commit

Permalink
ci: adjust taskfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Mara-Li committed Dec 24, 2024
1 parent 39318fc commit 17096c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 43 deletions.
22 changes: 0 additions & 22 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,42 +10,20 @@ tasks:
cmds:
- task: release

clean:
desc: "Clean up old build files"
cmds:
- echo "Cleaning build directories..."
- uv run python clean.py

version:
desc: "Run semantic-release to determine and bump the version"
cmds:
- echo "Running semantic-release to bump the version..."
- uv run semantic-release -c semantic_release.toml version

build:
desc: "Build the Python package"
cmds:
- echo "Building the package..."
- uv build

publish:
desc: "Publish the package to PyPI"
cmds:
- echo "Publishing {{.package_name}} to PyPI..."
- uv run semantic-release -c semantic_release.toml publish

watch:
desc: "Start the Watchdog with custom paths"
vars:
package_path: "mkdocs-obsidian-wikilinks"
mkdocs_path: "../mara-li"
cmds:
- echo "Starting Watchdog for {{.package_path}} with MkDocs at {{.mkdocs_path}}..."
- uv run python watch.py {{.package_path}} {{.mkdocs_path}}

release:
desc: "Perform a full release: version bump, build, and publish"
cmds:
- task: clean
- task: version
- task: publish
21 changes: 0 additions & 21 deletions clean.py

This file was deleted.

0 comments on commit 17096c3

Please sign in to comment.