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

[test] CI: cp + when: always

parent d9c89b71
Branches build
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ build:
releases:test:
<<: *build_releases
when: always
script:
- rm -rf node_modules/
- bash "release/arch/linux/build-lin.sh" "$(date +%Y%m%d).$(date +%H%M).$(date +%S)"
......
......@@ -178,13 +178,15 @@ rm -Rf .gitignore .git || exit 1 # Remove git files
echo ">> VM: building modules..."
yarn || exit 1
# Duniter UI
yarn add "duniter-ui@${DUNITER_UI_VER}" || exit 1
yarn --production || exit 1
# Patch leveldown
echo ">> cp " "${ROOT}/release/resources/leveldown-fix.json" "${RELEASES}/duniter/node_modules/leveldown/package.json"
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
cat "${RELEASES}/duniter/node_modules/leveldown/package.json"
rm -rf release coverage test # Non production folders
cp -r "${RELEASES}/duniter" "${RELEASES}/desktop_" || exit 1
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment