From c3412163888f558af4698df25279c59d5f6bc01f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Moreau?= <cem.moreau@gmail.com> Date: Wed, 31 Oct 2018 08:58:49 +0000 Subject: [PATCH] [fix] CI: release: leveldown patch was wrongly located --- release/arch/linux/build-lin.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/release/arch/linux/build-lin.sh b/release/arch/linux/build-lin.sh index 4721f4d2b..cc8950e24 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 -- GitLab