diff --git a/release/arch/linux/build-lin.sh b/release/arch/linux/build-lin.sh index 4721f4d2b6263802fd828c08f6cf8b6d0bf05d93..cc8950e24ff984868ebad862eb07eb97e5649a8f 100644 --- a/release/arch/linux/build-lin.sh +++ b/release/arch/linux/build-lin.sh @@ -178,13 +178,13 @@ rm -Rf .gitignore .git || exit 1 # Remove git files echo ">> VM: building modules..." yarn || exit 1 -# Patch leveldown -cp "${ROOT}/release/resources/leveldown-fix.json" "${RELEASES}/duniter/node_modules/leveldown/package.json" || exit 1 - # Duniter UI yarn add "duniter-ui@${DUNITER_UI_VER}" || 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 cp -r "${RELEASES}/duniter" "${RELEASES}/desktop_" || exit 1 cp -r "${RELEASES}/duniter" "${RELEASES}/server_" || exit 1