From fdfd9816f5d607c95b8e00c6377d1f6c9873d003 Mon Sep 17 00:00:00 2001 From: Azalea Gui <22280294+hykilpikonna@users.noreply.github.com> Date: Thu, 21 Aug 2025 12:06:24 -0400 Subject: [PATCH] [F] Fix deploy script --- Cargo.lock | 2 +- Cargo.toml | 2 +- neofetch | 2 +- tools/deploy-release.py | 6 +++++- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 48ed8b0f..6ad5e838 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -251,7 +251,7 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] name = "hyfetch" -version = "2.0.0" +version = "2.0.1" dependencies = [ "aho-corasick", "ansi_colours", diff --git a/Cargo.toml b/Cargo.toml index 528ab752..5f39daf3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,7 +3,7 @@ resolver = "2" members = ["crates/*"] [workspace.package] -version = "2.0.0" +version = "2.0.1" authors = ["Azalea Gui "] edition = "2021" rust-version = "1.75.0" diff --git a/neofetch b/neofetch index 7a8e3c14..989c1d09 100755 --- a/neofetch +++ b/neofetch @@ -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). diff --git a/tools/deploy-release.py b/tools/deploy-release.py index df4ef587..ffa1f819 100755 --- a/tools/deploy-release.py +++ b/tools/deploy-release.py @@ -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: ')