mirror of
https://github.com/saphid/frame-control.git
synced 2026-10-25 10:02:21 +01:00
Write release checksums as exact LF bytes on Windows
This commit is contained in:
1 parent
630cdd7b34
commit
f6ecf9b1f4
1 file changed
+3
-1
@@ -59,7 +59,9 @@ def main():
|
||||
if args.id:
|
||||
print(int(release["id"]))
|
||||
else:
|
||||
sys.stdout.write(checksums(release))
|
||||
# Windows text stdout changes LF to CRLF. SHA256SUMS must have the same
|
||||
# bytes on every runner, including publish-release.sh's verification.
|
||||
sys.stdout.buffer.write(checksums(release).encode("ascii"))
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in new issue
Block a user