mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-17 18:09:52 +00:00
retain executable permission
This commit is contained in:
parent
e24de70c02
commit
553aceac44
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
@ -166,13 +166,15 @@ jobs:
|
||||
cp -r artifacts/macos-binaries/* dist/
|
||||
cp -r artifacts/windows-binaries/* dist/
|
||||
|
||||
find dist -type f -not -name "*.exe" -exec chmod +x {} \;
|
||||
|
||||
# 为每个二进制文件创建 zip 包
|
||||
cd dist
|
||||
for bin in certimate_*; do
|
||||
if [[ "$bin" == *".exe" ]]; then
|
||||
zip "${bin%.exe}.zip" "${bin}"
|
||||
else
|
||||
zip "${bin}.zip" "${bin}"
|
||||
zip -X "${bin}.zip" "${bin}"
|
||||
fi
|
||||
done
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user