mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
Remove the code to generate installer.sh from installer.py
This commit is contained in:
parent
1d8d669a43
commit
49efbf0c6e
1 changed files with 0 additions and 4 deletions
|
|
@ -144,10 +144,6 @@ def run_website(args: Any) -> None:
|
|||
with open(os.path.join(publish_dir, 'current-version.txt'), 'w') as f:
|
||||
f.write(version)
|
||||
shutil.copy2(os.path.join(docs_dir, 'installer.sh'), publish_dir)
|
||||
installer = os.path.join(docs_dir, 'installer.py')
|
||||
subprocess.check_call([
|
||||
'python3', '-c', f"import runpy; runpy.run_path('{installer}', run_name='update_wrapper')",
|
||||
os.path.join(publish_dir, 'installer.sh')])
|
||||
os.chdir(os.path.dirname(publish_dir))
|
||||
subprocess.check_call(['git', 'add', 'kitty'])
|
||||
subprocess.check_call(['git', 'commit', '-m', 'kitty website updates'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue