mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 09:06:14 +00:00
fix: resolve directory overwrite error in checksums generation
Use find -mindepth 2 to only move files from subdirectories, avoiding the 'mv: cannot overwrite directory' error when flattening the artifact directory structure. This ensures only the actual binary and checksum files are moved, not the directories themselves. Fixes the sha256sum failure in the Generate Checksums workflow step.
This commit is contained in:
@@ -185,8 +185,8 @@ jobs:
|
||||
find . -type f -name "soundtouch-cli-*"
|
||||
|
||||
# Flatten directory structure (artifacts are in subdirs)
|
||||
# Move all binary files to current directory
|
||||
find . -type f -name "soundtouch-cli-*" -exec mv {} . \;
|
||||
# Move all binary and checksum files to current directory
|
||||
find . -mindepth 2 -type f -name "soundtouch-cli-*" -exec mv {} . \;
|
||||
|
||||
# Remove empty directories
|
||||
find . -type d -empty -delete
|
||||
|
||||
Reference in New Issue
Block a user