Skip to content

Commit

Permalink
Fix release script
Browse files Browse the repository at this point in the history
  • Loading branch information
trasher committed Aug 26, 2024
1 parent 28d14f5 commit 14f6748
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions bin/release
Original file line number Diff line number Diff line change
Expand Up @@ -378,13 +378,8 @@ def add_libs(rel_name, galette_archive):
p1 = subprocess.Popen(wp_cmd, shell=True, cwd=npm_dir)
p1.wait()

shutil.rmtree(os.path.join(npm_dir, 'node_modules'))
shutil.rmtree(os.path.join(npm_dir, 'bin'))
os.remove(os.path.join(npm_dir, '.gitignore'))
os.remove(os.path.join(npm_dir, 'webpack.config.js'))
os.remove(os.path.join(npm_dir, 'package.json'))
os.remove(os.path.join(npm_dir, 'package-lock.json'))
os.remove(os.path.join(npm_dir, 'calendar.js'))

composer_dir = os.path.join(src_dir, rel_name)
has_composer = os.path.exists(
Expand Down

0 comments on commit 14f6748

Please sign in to comment.