Skip to content

Commit 9eba6ee

Browse files
committed
Mark files that benefit from unix executable permission as such in the WLE zip.
1 parent 5b2b785 commit 9eba6ee

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/LuaWatcom.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,10 @@ jobs:
119119
120120
- name: Create Binaries Zip
121121
run: |
122-
files=$(find dist/bin/*.ELF dist/bin/*.EXE demo/core/*.LUA demo/xtra/*.LUA | sort | xargs)
122+
files=$(find dist/bin/*.EXE demo/core/*.LUA demo/xtra/*.LUA ! -executable | sort | xargs)
123123
zip -j9 --DOS-names dist/LuaExe.zip $files
124+
exe=$(find dist/bin/*.ELF demo/core/*.LUA demo/xtra/*.LUA -executable | sort | xargs)
125+
zip -j9 -X dist/LuaExe.zip $exe
124126
name="dist/WLE$(sha256sum dist/LuaExe.zip | awk '{print $1}' | cut -c1-5).zip"
125127
mv dist/LuaExe.zip $name
126128
touch --date="$(git log -1 --pretty=format:%cI)" $name

0 commit comments

Comments
 (0)