Restore executable permissions on Unix release tarball binaries (#577)
These changes resolve #575 by setting the OxiPNG binary that's about to be put in a release tarball to be world-executable during the release workflow, as such permissions are lost when fetching them from artifacts.
This commit is contained in:
parent
a6152b06c4
commit
0a988768ab
1 changed files with 6 additions and 0 deletions
6
.github/workflows/deploy.yml
vendored
6
.github/workflows/deploy.yml
vendored
|
|
@ -67,6 +67,12 @@ jobs:
|
||||||
*)
|
*)
|
||||||
cp ../LICENSE "$ARCHIVE_NAME"
|
cp ../LICENSE "$ARCHIVE_NAME"
|
||||||
cp oxipng "$ARCHIVE_NAME"
|
cp oxipng "$ARCHIVE_NAME"
|
||||||
|
# Execute permissions are not stored in artifact files,
|
||||||
|
# so make the binary world-executable to meet user
|
||||||
|
# expectations set by preceding releases.
|
||||||
|
# Related issue:
|
||||||
|
# https://github.com/shssoichiro/oxipng/issues/575
|
||||||
|
chmod ugo+x "$ARCHIVE_NAME"/oxipng
|
||||||
tar -vczf "${ARCHIVE_NAME}.tar.gz" "$ARCHIVE_NAME"/*;;
|
tar -vczf "${ARCHIVE_NAME}.tar.gz" "$ARCHIVE_NAME"/*;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue