Skip to content

Commit 08fad89

Browse files
committed
ci: improve release/build taskfiles
1 parent 58a5f5d commit 08fad89

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Taskfile.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ version: "3"
33
vars:
44
package_name: "mkdocs-embed-file-plugin"
55
pyproject_dir: "{{.Taskfile.Dir}}"
6+
root: "../.."
67

78
tasks:
89
default:
@@ -20,8 +21,8 @@ tasks:
2021
desc: "Publish the package to PyPI"
2122
cmds:
2223
- echo "Publishing {{.package_name}} to PyPI..."
23-
- uv publish
24-
- uv run semantic-release -c semantic_release.toml publish
24+
- uv publish --directory {{.root}}
25+
- uv run semantic-release -c semantic_release.toml publish {{.CLI_ARGS}}
2526

2627
release:
2728
desc: "Perform a full release: version bump, build, and publish"

0 commit comments

Comments
 (0)