mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-27 12:09:56 +00:00
AUTH-3148 fixed cloudflared copy and match all the files in the checksum upload
This commit is contained in:
@@ -200,10 +200,10 @@ def main():
|
||||
|
||||
# copy the binary to the path
|
||||
copy_path = os.path.join(artifact_path, args.name)
|
||||
if args.path != copy_path:
|
||||
try:
|
||||
shutil.copy(args.path, copy_path)
|
||||
|
||||
|
||||
except shutil.SameFileError:
|
||||
pass # the macOS release copy fails with being the same file (already in the artifacts directory). Catching to ignore.
|
||||
|
||||
except Exception as e:
|
||||
logging.exception(e)
|
||||
|
Reference in New Issue
Block a user