Build the static assets prior to release
continuous-integration/drone the build canceled Details

This commit is contained in:
Olivier 'reivilibre' 2022-04-07 23:03:58 +01:00
parent d8f96895e6
commit 33b3bd8e49
1 changed files with 10 additions and 0 deletions

View File

@ -12,6 +12,14 @@ matrix:
tag: v*
pipeline:
buildAssets:
when: *when
image: "node:17.8.0-alpine3.14"
commands:
- cd quickpeep_static
- yarn build
buildRelease:
when: *when
@ -26,6 +34,8 @@ pipeline:
- cargo install --path quickpeep_raker --bins --root dist
- cargo install --path quickpeep_indexer --bins --root dist
- cp -r scripts dist/
- mkdir dist/static
- cp -r quickpeep_static/dist/* dist/static
- "mv dist quickpeep-$qualsuff"
- "tar Jcvf quickpeep-$qualsuff.tar.xz quickpeep-$qualsuff"