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.
This commit is contained in:
Digital Studium 2024-03-08 00:03:54 +03:00
parent d46662d787
commit 1af834ec74
1 changed files with 1 additions and 0 deletions

View File

@ -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 -