[F] Fix deploy script

This commit is contained in:
Azalea Gui 2025-08-21 12:06:24 -04:00
parent d6f9d1f569
commit fdfd9816f5
4 changed files with 8 additions and 4 deletions

2
Cargo.lock generated
View File

@ -251,7 +251,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
[[package]]
name = "hyfetch"
version = "2.0.0"
version = "2.0.1"
dependencies = [
"aho-corasick",
"ansi_colours",

View File

@ -3,7 +3,7 @@ resolver = "2"
members = ["crates/*"]
[workspace.package]
version = "2.0.0"
version = "2.0.1"
authors = ["Azalea Gui <azalea@hydev.org>"]
edition = "2021"
rust-version = "1.75.0"

View File

@ -28,7 +28,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
version=7.98.0
version=7.99.0
# Fallback to a value of '5' for shells which support bash
# but do not set the 'BASH_' shell variables (osh).

View File

@ -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: ')