Skip to content

Commit

Permalink
Update Permissions of executable file (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xAWM authored Oct 8, 2023
1 parent da3cf92 commit 5985e6d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,7 @@ jobs:
mv "./target/${TARGET}/release/ityfuzz" "./target/${TARGET}/release/ityfuzz_"
mv "./target_f/${TARGET}/release/ityfuzz" "./target/${TARGET}/release/ityfuzz_f"
echo -e '#!/bin/bash\nif [[ "$@" == *"-o "* ]] || [[ "$@" =~ "-o"$ ]] || [[ "$@" == *"--onchain "* ]] || [[ "$@" =~ "--onchain"$ ]]; then\n ./ityfuzz_f "$@"\nelse\n ./ityfuzz_ "$@"\nfi' > "./target/${TARGET}/release/ityfuzz"
chmod +x "./target/${TARGET}/release/ityfuzz"
if [ "$PLATFORM_NAME" == "linux" ]; then
tar -czvf "ityfuzz_${VERSION_NAME}_${PLATFORM_NAME}_${ARCH}.tar.gz" -C ./target/${TARGET}/release ityfuzz ityfuzz_ ityfuzz_f
else
Expand Down

0 comments on commit 5985e6d

Please sign in to comment.