A release copies release/assets entry by entry; Node 22 refused the folder copy #83
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
queue
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
romaine-life/pipeline-templates!83
Loading…
Reference in a new issue
No description provided.
Delete branch "PIPT-12-release-assets-copy"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
fzt-browser's PR (fzt-browser#52) is the first release with static assets, and its check-build failed:
ERR_FS_CP_EEXIST: dist already exists.release/build.mjscopiedrelease/assets/<toolchain>intodist/with onecpSync(..., {errorOnExist: true}). On the Linux runner's Node 22 that fails becausedist/itself already exists. On the home PCs' Node 24 it passed, which is why my local release build of fzt-browser did. Each entry is now copied on its own, so only a real clash with a built file is an error.A new probe test runs a release with static assets, a file and a folder. It passes locally on Node 24 with the fix; this PR's CI runs it on Node 22, where the failure occurred. I haven't run the test without the fix on Node 22.
Work package: https://openproject.home.romaine.life/wp/PIPT-12