10000 Keep signing commands in platform.txt on release by earlephilhower · Pull Request #5491 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

Keep signing commands in platform.txt on release #5491

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

Merged
merged 2 commits into from
Dec 13, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Create the build subdir, if needed, for autosign
If the temporary build/core directory isn't available, make it in order
that Updater.cpp will see the generated signing header and not the one
in the main core.
  • Loading branch information
earlephilhower committed Dec 13, 2018
commit b114509ec5afb836797f84c434d954e8a146eca7
3 changes: 3 additions & 0 deletions tools/signing.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ def main():
# and they can check for the positive acknowledgement above.
# sys.stderr.write("Not enabling binary signing\n")
val += "#define ARDUINO_SIGNING 0\n"
outdir = os.path.dirname(args.out)
if not os.path.exists(outdir):
os.makedirs(outdir)
with open(args.out, "w") as f:
f.write(val)
return 0
Expand Down
0