Skip to content

Commit 4f7d3fb

Browse files
committed
Fix zipped portable image folder structure for future releases.
1 parent a827911 commit 4f7d3fb

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/workflow.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,11 @@ jobs:
227227
sudo apt-get install rename
228228
mv boundingboxeditor-installer-*/* .
229229
find "$PWD"/* -maxdepth 0 -type f -name "BoundingBoxEditor*" -exec basename {} ";" | rename -f 'y/A-Z/a-z/'
230-
find "$PWD"/* -maxdepth 0 -type d -name "boundingboxeditor-portable-*" -exec zip -r {}.zip {} ";"
230+
for image_dir in $(find "$PWD"/* -maxdepth 0 -type d -name "boundingboxeditor-portable-*")
231+
do
232+
cd $image_dir
233+
zip -r $image_dir *
234+
done
231235
- name: Release to github
232236
uses: softprops/action-gh-release@v1
233237
env:

0 commit comments

Comments
 (0)