From 9b4d556cb753e7d20554305c2664b33cbecbe96d Mon Sep 17 00:00:00 2001 From: Max Mansfield Date: Tue, 27 Jan 2026 00:12:09 -0700 Subject: [PATCH] fix(ci): remove build deps from publish tasks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The publish:js task had deps on prebuild:js which triggered a full rebuild during CI publish. This failed because the SDK isn't installed in the publish job - it only downloads pre-built artifacts. Removed build dependencies from publish tasks since CI handles the build/publish separation. Added :full variants for local development where the full build→publish flow is needed. --- Taskfile.yml | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/Taskfile.yml b/Taskfile.yml index 0037176..b041061 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -329,31 +329,44 @@ tasks: # ============================================================================= publish:js: - desc: "Upload Node.js prebuilds to GitHub Releases" + desc: "Upload Node.js prebuilds to GitHub Releases (assumes prebuilds exist)" + cmds: + - node scripts/publish.js --node + + publish:js:full: + desc: "Build and upload Node.js prebuilds to GitHub Releases" deps: [prebuild:js] cmds: - node scripts/publish.js --node publish:js:linux: - desc: "Upload Node.js prebuilds for Linux to GitHub Releases" - deps: [prebuild:js:linux] + desc: "Upload Node.js prebuilds for Linux to GitHub Releases (assumes prebuilds exist)" cmds: - node scripts/publish.js --node --platform linux publish:js:darwin: - desc: "Upload Node.js prebuilds for macOS to GitHub Releases" - deps: [prebuild:js:darwin] + desc: "Upload Node.js prebuilds for macOS to GitHub Releases (assumes prebuilds exist)" cmds: - node scripts/publish.js --node --platform darwin publish:py: - desc: "Upload Python wheels to PyPI" - deps: [build:py, build:py:linux] + desc: "Upload Python wheels to PyPI (assumes wheels exist in dist/py)" cmds: - node scripts/publish.js --python --prod publish:py:test: - desc: "Upload Python wheels to TestPyPI" + desc: "Upload Python wheels to TestPyPI (assumes wheels exist in dist/py)" + cmds: + - node scripts/publish.js --python --test + + publish:py:full: + desc: "Build and upload Python wheels to PyPI" + deps: [build:py, build:py:linux] + cmds: + - node scripts/publish.js --python --prod + + publish:py:test:full: + desc: "Build and upload Python wheels to TestPyPI" deps: [build:py, build:py:linux] cmds: - node scripts/publish.js --python --test