Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make rebuilt macOS binaries executable #70

Merged
merged 2 commits into from
Dec 16, 2020

Conversation

cameel
Copy link
Member

@cameel cameel commented Dec 16, 2020

I noticed that my rebuild script (#53) does not mark the binaries as executable before committing them and now I constantly have to do it manually when working with them. It would be best to have that bit set in the repo.

@cameel cameel self-assigned this Dec 16, 2020
@@ -316,6 +316,7 @@ jobs:
- name: Commit and push the binary
run: |
cd solc-bin/
chmod 0755 ../solc
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So basically the download-artifact step doesn't apply this (it doesn't convey this information).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. Artifacts seem to be stored as zips internally and zips do not preserve the flags so it might be due to that.

Another possibility is that it could be just our build system not making it executable. But I think it's unlikely and I didn't want to investigate that too deeply. Putting chmod here will work in either case.

@chriseth chriseth merged commit c6489e8 into gh-pages Dec 16, 2020
@chriseth chriseth deleted the executable-bit-for-mac-binaries branch December 16, 2020 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants