From 1af834ec746ab4caa231df9fd6d599a8c53fa331 Mon Sep 17 00:00:00 2001 From: Digital Studium Date: Fri, 8 Mar 2024 00:03:54 +0300 Subject: [PATCH] update install\_software.sh script to include npm build command before installing opencommit package This commit updates the install\_software.sh script by adding the "npm run build" command before installing the opencommit package using "sudo npm install". This change is intended to ensure that the OpenCommit package is built locally before installation, which may improve the stability and performance of the installed software. --- install_software.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/install_software.sh b/install_software.sh index cd0173f..2a8f0fc 100755 --- a/install_software.sh +++ b/install_software.sh @@ -33,6 +33,7 @@ if ! command -v opencommit &> /dev/null then git clone --depth 1 https://git.digitalstudium.com/digitalstudium/opencommit.git cd opencommit + npm run build npm pack sudo npm install -g opencommit-3.0.11.tgz cd -