Skip to content

Commit

Permalink
BACKLOG-23313 : rename MPM module to javascript module (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
dgriffon authored Jan 10, 2025
1 parent 7caa1d0 commit fcb3283
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions env.provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ if [[ -d artifacts/ ]]; then
echo "$(date +'%d %B %Y - %k:%M') [MODULE_INSTALL] == Module submitted =="
done

# This is done after classic .jar module to ensure NPM modules are installed after engine module
# This is done after classic .jar module to ensure Javascript modules are installed after engine module
for file in $(ls -1 *-SNAPSHOT.tgz | sort -n)
do
echo "$(date +'%d %B %Y - %k:%M') [MODULE_INSTALL] == Submitting NPM module from: $file =="
echo "$(date +'%d %B %Y - %k:%M') [MODULE_INSTALL] == Submitting Javascript module from: $file =="
curl -u root:${SUPER_USER_PASSWORD} -X POST ${JAHIA_URL}/modules/api/provisioning --form script='[{"installAndStartBundle":"'"$file"'", "forceUpdate":true}]' --form file=@$file
echo
echo "$(date +'%d %B %Y - %k:%M') [MODULE_INSTALL] == NPM Module submitted =="
echo "$(date +'%d %B %Y - %k:%M') [MODULE_INSTALL] == Javascript Module submitted =="
done
cd ..
fi
Expand Down

0 comments on commit fcb3283

Please sign in to comment.