Skip to content
Snippets Groups Projects
Commit c3412163 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] CI: release: leveldown patch was wrongly located

parent 8661ccf7
No related branches found
No related tags found
No related merge requests found
...@@ -178,13 +178,13 @@ rm -Rf .gitignore .git || exit 1 # Remove git files ...@@ -178,13 +178,13 @@ rm -Rf .gitignore .git || exit 1 # Remove git files
echo ">> VM: building modules..." echo ">> VM: building modules..."
yarn || exit 1 yarn || exit 1
# Patch leveldown
cp "${ROOT}/release/resources/leveldown-fix.json" "${RELEASES}/duniter/node_modules/leveldown/package.json" || exit 1
# Duniter UI # Duniter UI
yarn add "duniter-ui@${DUNITER_UI_VER}" || exit 1 yarn add "duniter-ui@${DUNITER_UI_VER}" || exit 1
yarn --production || exit 1 yarn --production || exit 1
# Patch leveldown
cp "${ROOT}/release/resources/leveldown-fix.json" "${RELEASES}/duniter/node_modules/leveldown/package.json" || exit 1
rm -rf release coverage test # Non production folders rm -rf release coverage test # Non production folders
cp -r "${RELEASES}/duniter" "${RELEASES}/desktop_" || exit 1 cp -r "${RELEASES}/duniter" "${RELEASES}/desktop_" || exit 1
cp -r "${RELEASES}/duniter" "${RELEASES}/server_" || exit 1 cp -r "${RELEASES}/duniter" "${RELEASES}/server_" || exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment