Skip to content

Commit

Permalink
added propper cache folders cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Litvinenko committed May 2, 2024
1 parent f7a8d2e commit 7b21e4c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,9 @@ def main(github_token, branch):

commit_changes_with_tag('./', version, current_version_file, misc_files_to_copy, carthage_files, branch)
release_files_in_dir(github, prebuilt_repo, release_dir, version)
os.remove(filepath)
os.remove(release_dir)

shutil.rmtree(filepath)
shutil.rmtree(release_dir)
except Exception as ex:
print(f'Faild to process release {version} {link}')
print(ex)
Expand Down

0 comments on commit 7b21e4c

Please sign in to comment.