[F] Fix deploy script
This commit is contained in:
parent
d6f9d1f569
commit
fdfd9816f5
4 changed files with 8 additions and 4 deletions
|
|
@ -93,7 +93,7 @@ def finalize_neofetch():
|
|||
# 2. Regenerate man page
|
||||
print('Regenerating neofetch man page...')
|
||||
Path('docs/neofetch.1').write_text(subprocess.check_output(['help2man', './neofetch']).decode())
|
||||
Path('docs/hyfetch.1').write_text(subprocess.check_output(['help2man', 'python3 -m hyfetch']).decode())
|
||||
Path('docs/hyfetch.1').write_text(subprocess.check_output(['help2man', 'cargo run --']).decode())
|
||||
|
||||
# 3. Reformat readme links
|
||||
print('Reformatting readme links...')
|
||||
|
|
@ -140,6 +140,10 @@ def deploy():
|
|||
print('Deploying to pypi...')
|
||||
subprocess.check_call(['bash', 'tools/deploy.sh'])
|
||||
print('Done!')
|
||||
|
||||
print('Deploying to crates.io...')
|
||||
subprocess.check_call(['bash', 'tools/deploy-crate.sh'])
|
||||
print('Done!')
|
||||
|
||||
print('Deploying to npm...')
|
||||
otp = input('Please provide 2FA OTP for NPM: ')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue