Skip to content

Commit

Permalink
Fix release for /tmp on a seperate filesystem. (pantsbuild#18272)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois authored Feb 16, 2023
1 parent 07e5952 commit ed1c321
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build-support/bin/reversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import hashlib
import os
import re
import shutil
import subprocess
import tempfile
import zipfile
Expand Down Expand Up @@ -158,7 +159,7 @@ def reversion(
check_dst = os.path.join(chroot, "check-wheel")
os.mkdir(check_dst)
subprocess.run(args=["wheel", "unpack", "-d", check_dst, tmp_whl_file], check=True)
os.rename(tmp_whl_file, dst_whl_file)
shutil.move(tmp_whl_file, dst_whl_file)
print("Wrote whl with version {} to {}.\n".format(target_version, dst_whl_file))


Expand Down

0 comments on commit ed1c321

Please sign in to comment.